home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Executable
(executable/macOSExecutable).
You can browse this item here: DU Demo 1.5
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Executable (executable/macOSExecutable)
| magic
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, bundle, Wed Aug 17 11:24:24 1994, modified Wed Aug 17 11:51:21 1994, creator 'DUcl', type application, 88800 bytes "DU Demo 1.5" , at 0x15b60 1084889 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh Application (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [APPL] |
macFileCreator | [DUcl] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 44 55 20 44 65 6d | 6f 20 31 2e 35 00 00 00 |..DU Dem|o 1.5...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 44 55 63 | 6c 25 00 00 00 00 00 00 |.APPLDUc|l%......|
|00000050| 00 00 00 00 01 5a e0 00 | 10 8d d9 aa 77 dc 28 aa |.....Z..|....w.(.|
|00000060| 77 e2 79 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |w.y.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c5 ec 00 00 |........|........|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..b.STAK|........|
|00000090| 00 00 00 0a 00 01 5a e0 | 00 00 62 00 00 00 00 00 |......Z.|..b.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 10 80 00 00 00 0a |........|........|
|000000b0| 00 00 09 26 00 00 12 df | 00 00 00 00 00 00 00 00 |...&....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 20 20 00 02 20 20 00 |..... ..|. .. .|
|000000f0| dd 87 b1 47 00 00 00 00 | 00 28 00 10 01 b8 02 70 |...G....|.(.....p|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d af 00 00 0c 1e | 01 90 02 60 00 00 00 00 |........|...`....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 73 74 61 63 6b | 20 22 44 55 20 44 65 6d |-- stack| "DU Dem|
|00000690| 6f 20 31 2e 35 61 32 22 | 0d 0d 2d 2d 20 48 41 4e |o 1.5a2"|..-- HAN|
|000006a0| 44 4c 45 52 53 3a 20 20 | 43 68 61 6e 67 65 44 65 |DLERS: |ChangeDe|
|000006b0| 6d 6f 2c 63 68 65 63 6b | 46 6f 72 44 65 76 65 6c |mo,check|ForDevel|
|000006c0| 6f 70 65 72 2c 63 6c 6f | 73 65 43 61 72 64 2c 63 |oper,clo|seCard,c|
|000006d0| 6c 6f 73 65 53 74 61 63 | 6b 2c 0d 2d 2d 20 63 6f |loseStac|k,.-- co|
|000006e0| 6c 6f 72 4d 65 2c 63 6f | 6e 74 72 6f 6c 4b 65 79 |lorMe,co|ntrolKey|
|000006f0| 2c 63 6f 70 79 49 63 6f | 6e 2c 63 72 65 61 74 65 |,copyIco|n,create|
|00000700| 41 64 6d 69 6e 4d 65 6e | 75 2c 63 75 74 49 63 6f |AdminMen|u,cutIco|
|00000710| 6e 2c 44 65 6d 6f 48 61 | 6e 64 6c 65 72 2c 0d 2d |n,DemoHa|ndler,.-|
|00000720| 2d 20 44 6f 44 65 6d 6f | 2c 65 78 70 6f 72 74 46 |- DoDemo|,exportF|
|00000730| 6c 64 73 2c 46 75 6c 6c | 43 6f 70 79 46 6f 6c 64 |lds,Full|CopyFold|
|00000740| 65 72 2c 49 6e 73 74 61 | 6c 6c 44 65 6d 6f 2c 6c |er,Insta|llDemo,l|
|00000750| 6f 63 6b 55 6e 4c 6f 63 | 6b 46 6c 64 73 2c 0d 2d |ockUnLoc|kFlds,.-|
|00000760| 2d 20 6f 70 65 6e 43 61 | 72 64 2c 6f 70 65 6e 73 |- openCa|rd,opens|
|00000770| 74 61 63 6b 2c 50 75 74 | 50 69 63 74 4f 6e 2c 52 |tack,Put|PictOn,R|
|00000780| 65 6d 6f 76 65 44 65 6d | 6f 2c 72 65 6d 6f 76 65 |emoveDem|o,remove|
|00000790| 44 65 6d 6f 42 74 6e 2c | 0d 2d 2d 20 53 68 6f 77 |DemoBtn,|.-- Show|
|000007a0| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 2c 73 74 61 |Instruct|ions,sta|
|000007b0| 6e 64 61 72 64 69 7a 65 | 44 65 6d 6f 42 74 6e 2c |ndardize|DemoBtn,|
|000007c0| 75 6e 6c 6f 63 6b 53 63 | 72 65 65 6e 52 65 61 6c |unlockSc|reenReal|
|000007d0| 6c 79 2c 0d 2d 2d 20 57 | 72 69 74 65 44 65 6d 6f |ly,.-- W|riteDemo|
|000007e0| 53 63 72 69 70 74 2c 77 | 72 69 74 65 53 74 61 74 |Script,w|riteStat|
|000007f0| 75 73 0d 0d 2d 2d 20 46 | 55 4e 43 54 49 4f 4e 53 |us..-- F|UNCTIONS|
|00000800| 3a 20 61 64 6d 69 6e 4d | 65 6e 75 73 2c 61 64 6d |: adminM|enus,adm|
|00000810| 69 6e 4d 73 67 73 2c 63 | 68 65 63 6b 45 72 72 6f |inMsgs,c|heckErro|
|00000820| 72 73 2c 44 65 63 44 65 | 6d 6f 4d 65 73 73 61 67 |rs,DecDe|moMessag|
|00000830| 65 2c 0d 2d 2d 20 44 65 | 63 4c 6f 67 44 69 72 2c |e,.-- De|cLogDir,|
|00000840| 44 65 63 4c 6f 67 46 69 | 6c 65 2c 64 65 76 65 6c |DecLogFi|le,devel|
|00000850| 6f 70 65 72 73 2c 64 69 | 72 4e 61 6d 65 2c 45 6e |opers,di|rName,En|
|00000860| 63 4c 6f 67 46 69 6c 65 | 2c 66 6c 64 44 65 6c 69 |cLogFile|,fldDeli|
|00000870| 6d 2c 0d 2d 2d 20 49 73 | 41 70 70 6c 52 75 6e 6e |m,.-- Is|ApplRunn|
|00000880| 69 6e 67 2c 49 73 4d 61 | 63 57 72 69 74 65 4f 70 |ing,IsMa|cWriteOp|
|00000890| 65 6e 2c 4a 75 73 74 46 | 69 6c 65 4e 61 6d 65 2c |en,JustF|ileName,|
|000008a0| 4c 61 75 6e 63 68 44 69 | 72 2c 4c 69 6e 65 54 6f |LaunchDi|r,LineTo|
|000008b0| 4c 69 6e 65 4e 75 6d 2c | 0d 2d 2d 20 4f 4b 74 6f |LineNum,|.-- OKto|
|000008c0| 4c 61 75 6e 63 68 2c 54 | 41 4c 61 75 6e 63 68 2c |Launch,T|ALaunch,|
|000008d0| 74 65 78 74 54 6f 4c 69 | 6e 65 4e 75 6d 2c 74 68 |textToLi|neNum,th|
|000008e0| 69 72 74 79 54 77 6f 43 | 68 61 72 0d 0d 2d 2d 20 |irtyTwoC|har..-- |
|000008f0| 4c 65 6e 67 74 68 20 6f | 66 20 74 68 69 73 20 73 |Length o|f this s|
|00000900| 63 72 69 70 74 3a 20 32 | 32 35 30 32 0d 2d 2d 20 |cript: 2|2502.-- |
|00000910| 48 65 61 64 65 72 20 63 | 6f 6d 70 69 6c 65 64 20 |Header c|ompiled |
|00000920| 6f 6e 3a 20 38 2f 31 33 | 2f 39 34 20 33 3a 33 33 |on: 8/13|/94 3:33|
|00000930| 20 50 4d 0d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | PM..---|--------|
|00000940| 2d 2d 2d 2d 2d 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-----..-|--------|
|00000950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000960| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000990| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|000009a0| 20 20 20 20 20 20 20 20 | 53 74 61 63 6b 3a 20 54 | |Stack: T|
|000009b0| 6f 6f 6c 73 20 41 64 76 | 69 73 6f 72 20 43 44 20 |ools Adv|isor CD |
|000009c0| 20 52 65 73 6f 75 72 63 | 65 73 20 20 20 20 20 20 | Resourc|es |
|000009d0| 20 20 20 20 20 20 2d 2d | 0d 2d 2d 20 20 20 20 20 | --|.-- |
|000009e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009f0| 20 a9 31 39 39 30 20 41 | 70 70 6c 65 20 43 6f 6d | .1990 A|pple Com|
|00000a00| 70 75 74 65 72 2c 20 49 | 6e 63 2e 20 20 20 20 20 |puter, I|nc. |
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00000a20| 2d 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |-.-- | |
|00000a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a60| 20 20 20 20 20 20 20 20 | 2d 2d 0d 2d 2d 20 20 20 | |--.-- |
|00000a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a80| 20 20 20 20 20 20 20 20 | 20 20 56 65 72 73 69 6f | | Versio|
|00000a90| 6e 3a 20 31 2e 30 20 20 | 20 20 20 20 20 20 20 20 |n: 1.0 | |
|00000aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ab0| 20 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | --.----|--------|
|00000ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 2d 2d |--------|----..--|
|00000b00| 20 58 43 4d 44 73 20 74 | 6f 20 66 6f 6c 6c 6f 77 | XCMDs t|o follow|
|00000b10| 3a 0d 2d 2d 20 23 20 20 | 20 39 38 35 20 20 20 20 |:.-- # | 985 |
|00000b20| 43 6f 70 79 46 6f 6c 64 | 65 72 20 20 20 20 20 20 |CopyFold|er |
|00000b30| 20 a9 20 46 72 8e 64 8e | 72 69 63 20 52 69 6e 61 | . Fr.d.|ric Rina|
|00000b40| 6c 64 69 0d 2d 2d 20 23 | 20 20 31 30 30 30 20 20 |ldi.-- #| 1000 |
|00000b50| 20 20 47 65 74 54 68 69 | 73 48 79 70 65 72 53 69 | GetThi|sHyperSi|
|00000b60| 7a 65 20 a9 20 46 72 8e | 64 8e 72 69 63 20 52 69 |ze . Fr.|d.ric Ri|
|00000b70| 6e 61 6c 64 69 0d 2d 2d | 20 23 20 20 20 32 31 33 |naldi.--| # 213|
|00000b80| 20 20 20 20 4d 54 50 6c | 61 79 20 20 20 20 20 20 | MTPl|ay |
|00000b90| 20 20 20 20 20 a9 20 46 | 61 72 61 6c 6c 6f 6e 20 | . F|arallon |
|00000ba0| 43 6f 6d 70 75 74 69 6e | 67 0d 2d 2d 20 23 20 20 |Computin|g.-- # |
|00000bb0| 31 30 34 37 20 20 20 20 | 4e 65 77 46 6f 6c 64 65 |1047 |NewFolde|
|00000bc0| 72 20 20 20 20 20 20 20 | 20 a9 20 47 75 79 20 64 |r | . Guy d|
|00000bd0| 65 20 50 69 63 63 69 6f | 74 74 6f 0d 2d 2d 20 23 |e Piccio|tto.-- #|
|00000be0| 20 20 31 31 34 32 20 20 | 20 20 50 72 6f 6d 70 74 | 1142 | Prompt|
|00000bf0| 20 20 20 20 20 20 20 20 | 20 20 20 a9 20 46 72 8e | | . Fr.|
|00000c00| 64 8e 72 69 63 20 52 69 | 6e 61 6c 64 69 0d 0d 2d |d.ric Ri|naldi..-|
|00000c10| 2d 20 58 46 43 4e 73 20 | 74 6f 20 66 6f 6c 6c 6f |- XFCNs |to follo|
|00000c20| 77 3a 0d 2d 2d 20 23 20 | 31 32 30 35 34 20 20 20 |w:.-- # |12054 |
|00000c30| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 4c 69 73 74 | Applica|tionList|
|00000c40| 20 20 a9 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 | . Appl|e Comput|
|00000c50| 65 72 2c 20 49 6e 63 2e | 0d 2d 2d 20 23 20 31 32 |er, Inc.|.-- # 12|
|00000c60| 30 34 34 20 20 20 20 41 | 70 70 6c 4d 65 6d 6f 72 |044 A|pplMemor|
|00000c70| 79 20 20 20 20 20 20 20 | a9 20 41 70 70 6c 65 20 |y |. Apple |
|00000c80| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 2d |Computer|, Inc..-|
|00000c90| 2d 20 23 20 31 32 35 30 | 35 20 20 20 20 41 70 70 |- # 1250|5 App|
|00000ca0| 6c 53 69 7a 65 20 20 20 | 20 20 20 20 20 20 a9 20 |lSize | . |
|00000cb0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000cc0| 49 6e 63 2e 0d 2d 2d 20 | 23 20 33 30 30 32 35 20 |Inc..-- |# 30025 |
|00000cd0| 20 20 20 44 69 73 6b 53 | 70 61 63 65 41 76 61 69 | DiskS|paceAvai|
|00000ce0| 6c 20 20 20 a9 20 50 65 | 74 65 72 20 4d 65 79 65 |l . Pe|ter Meye|
|00000cf0| 72 0d 2d 2d 20 23 20 31 | 33 30 30 35 20 20 20 20 |r.-- # 1|3005 |
|00000d00| 46 69 6c 65 43 72 65 61 | 74 6f 72 20 20 20 20 20 |FileCrea|tor |
|00000d10| 20 a9 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 | . Apple| Compute|
|00000d20| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 23 20 31 33 30 |r, Inc..|-- # 130|
|00000d30| 30 36 20 20 20 20 46 69 | 6c 65 45 78 69 73 74 73 |06 Fi|leExists|
|00000d40| 20 20 20 20 20 20 20 a9 | 20 41 70 70 6c 65 20 43 | .| Apple C|
|00000d50| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|00000d60| 20 23 20 31 32 30 34 30 | 20 20 20 20 4d 46 49 73 | # 12040| MFIs|
|00000d70| 52 75 6e 6e 69 6e 67 20 | 20 20 20 20 20 a9 20 41 |Running | . A|
|00000d80| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I|
|00000d90| 6e 63 2e 0d 2d 2d 20 23 | 20 31 32 30 34 38 20 20 |nc..-- #| 12048 |
|00000da0| 20 20 73 79 73 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 | sysEnv|ironment|
|00000db0| 20 20 20 a9 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 | . App|le Compu|
|00000dc0| 74 65 72 2c 20 49 6e 63 | 2e 0d 2d 2d 20 23 20 31 |ter, Inc|..-- # 1|
|00000dd0| 32 30 35 33 20 20 20 20 | 54 6f 74 61 6c 52 41 4d |2053 |TotalRAM|
|00000de0| 20 20 20 20 20 20 20 20 | 20 a9 20 41 70 70 6c 65 | | . Apple|
|00000df0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..|
|00000e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e40| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 6f 6e 20 6f 70 65 |--------|..on ope|
|00000e50| 6e 73 74 61 63 6b 0d 41 | 64 64 43 6f 6c 6f 72 20 |nstack.A|ddColor |
|00000e60| 69 6e 73 74 61 6c 6c 0d | 63 68 65 63 6b 46 6f 72 |install.|checkFor|
|00000e70| 44 65 76 65 6c 6f 70 65 | 72 0d 69 66 20 74 68 65 |Develope|r.if the|
|00000e80| 72 65 20 69 73 20 61 20 | 63 61 72 64 20 22 53 70 |re is a |card "Sp|
|00000e90| 6c 61 73 68 22 20 74 68 | 65 6e 20 67 6f 20 63 64 |lash" th|en go cd|
|00000ea0| 20 22 53 70 6c 61 73 68 | 22 0d 65 6c 73 65 20 67 | "Splash|".else g|
|00000eb0| 6f 20 63 64 20 31 0d 70 | 61 73 73 20 6f 70 65 6e |o cd 1.p|ass open|
|00000ec0| 53 74 61 63 6b 0d 65 6e | 64 20 6f 70 65 6e 73 74 |Stack.en|d openst|
|00000ed0| 61 63 6b 0d 0d 6f 6e 20 | 6f 70 65 6e 43 61 72 64 |ack..on |openCard|
|00000ee0| 0d 53 65 6e 64 20 63 6f | 6c 6f 72 4d 65 20 74 6f |.Send co|lorMe to|
|00000ef0| 20 74 68 69 73 20 63 61 | 72 64 0d 70 61 73 73 20 | this ca|rd.pass |
|00000f00| 6f 70 65 6e 43 61 72 64 | 0d 65 6e 64 20 6f 70 65 |openCard|.end ope|
|00000f10| 6e 43 61 72 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 43 |nCard..o|n closeC|
|00000f20| 61 72 64 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ard.lock| screen.|
|00000f30| 70 61 73 73 20 63 6c 6f | 73 65 43 61 72 64 0d 65 |pass clo|seCard.e|
|00000f40| 6e 64 20 63 6c 6f 73 65 | 43 61 72 64 0d 0d 6f 6e |nd close|Card..on|
|00000f50| 20 63 6f 6c 6f 72 4d 65 | 0d 41 64 64 43 6f 6c 6f | colorMe|.AddColo|
|00000f60| 72 20 63 6f 6c 6f 72 43 | 61 72 64 2c 73 74 61 6d |r colorC|ard,stam|
|00000f70| 70 2c 30 0d 65 6e 64 20 | 63 6f 6c 6f 72 4d 65 0d |p,0.end |colorMe.|
|00000f80| 0d 6f 6e 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 73 |.on clos|eStack.s|
|00000f90| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00000fa0| 63 68 0d 70 75 74 20 71 | 75 6f 74 65 20 26 20 74 |ch.put q|uote & t|
|00000fb0| 6f 70 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 20 |op of cd| window |
|00000fc0| 2b 20 33 30 30 20 26 22 | 2c 22 26 c2 0d 6c 65 66 |+ 300 &"|,"&..lef|
|00000fd0| 74 20 6f 66 20 63 64 20 | 77 69 6e 64 6f 77 20 2b |t of cd |window +|
|00000fe0| 20 32 31 38 20 26 71 75 | 6f 74 65 20 69 6e 74 6f | 218 &qu|ote into|
|00000ff0| 20 74 68 65 54 4c 0d 67 | 6f 20 63 64 20 22 43 6f | theTL.g|o cd "Co|
|00001000| 70 79 72 69 67 68 74 73 | 22 0d 75 6e 6c 6f 63 6b |pyrights|".unlock|
|00001010| 53 63 72 65 65 6e 52 65 | 61 6c 6c 79 0d 2d 2d 20 |ScreenRe|ally.-- |
|00001020| 67 65 74 20 57 69 6e 64 | 6f 77 53 63 72 69 70 74 |get Wind|owScript|
|00001030| 28 22 44 69 73 74 72 69 | 62 75 74 69 6f 6e 20 53 |("Distri|bution S|
|00001040| 70 6c 61 73 68 22 2c 74 | 68 65 54 4c 29 0d 77 61 |plash",t|heTL).wa|
|00001050| 69 74 20 34 20 73 65 63 | 73 0d 2d 2d 20 63 6c 6f |it 4 sec|s.-- clo|
|00001060| 73 65 20 77 69 6e 64 6f | 77 20 22 44 69 73 74 72 |se windo|w "Distr|
|00001070| 69 62 75 74 69 6f 6e 20 | 53 70 6c 61 73 68 22 0d |ibution |Splash".|
|00001080| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 41 64 64 43 |lock scr|een.AddC|
|00001090| 6f 6c 6f 72 20 72 65 6d | 6f 76 65 0d 70 61 73 73 |olor rem|ove.pass|
|000010a0| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 65 6e 64 20 | closeSt|ack.end |
|000010b0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 0d 6f 6e 20 63 |closeSta|ck..on c|
|000010c0| 68 65 63 6b 46 6f 72 44 | 65 76 65 6c 6f 70 65 72 |heckForD|eveloper|
|000010d0| 0d 67 6c 6f 62 61 6c 20 | 75 73 65 72 4e 61 6d 65 |.global |userName|
|000010e0| 0d 69 66 20 74 68 65 20 | 73 68 69 66 74 4b 65 79 |.if the |shiftKey|
|000010f0| 20 69 73 20 75 70 20 74 | 68 65 6e 0d 69 66 20 75 | is up t|hen.if u|
|00001100| 73 65 72 4e 61 6d 65 20 | 69 73 20 69 6e 20 64 65 |serName |is in de|
|00001110| 76 65 6c 6f 70 65 72 73 | 28 29 20 74 68 65 6e 0d |velopers|() then.|
|00001120| 61 6e 73 77 65 72 20 22 | 48 65 6c 6c 6f 22 20 26 |answer "|Hello" &|
|00001130| 26 20 77 6f 72 64 20 31 | 20 6f 66 20 75 73 65 72 |& word 1| of user|
|00001140| 4e 61 6d 65 20 26 20 22 | 2c 22 20 26 26 20 c2 0d |Name & "|," && ..|
|00001150| 22 64 6f 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 |"do you |want the|
|00001160| 20 41 64 6d 69 6e 20 6d | 65 6e 75 3f 22 20 77 69 | Admin m|enu?" wi|
|00001170| 74 68 20 22 4e 6f 22 20 | 6f 72 20 22 41 64 6d 69 |th "No" |or "Admi|
|00001180| 6e 22 0d 69 66 20 69 74 | 20 69 73 20 22 41 64 6d |n".if it| is "Adm|
|00001190| 69 6e 22 20 74 68 65 6e | 0d 63 72 65 61 74 65 41 |in" then|.createA|
|000011a0| 64 6d 69 6e 4d 65 6e 75 | 0d 65 78 69 74 20 63 68 |dminMenu|.exit ch|
|000011b0| 65 63 6b 46 6f 72 44 65 | 76 65 6c 6f 70 65 72 20 |eckForDe|veloper |
|000011c0| 2d 2d 20 6e 6f 20 63 75 | 73 74 6f 6d 20 6d 65 6e |-- no cu|stom men|
|000011d0| 75 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |us.end i|f.end if|
|000011e0| 0d 65 6e 64 20 69 66 0d | 68 69 64 65 20 6d 65 6e |.end if.|hide men|
|000011f0| 75 42 61 72 0d 69 66 20 | 74 68 65 72 65 20 69 73 |uBar.if |there is|
|00001200| 20 61 20 6d 65 6e 75 20 | 22 47 6f 22 20 74 68 65 | a menu |"Go" the|
|00001210| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 47 |n delete| menu "G|
|00001220| 6f 22 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |o".if th|ere is a|
|00001230| 20 6d 65 6e 75 20 22 54 | 6f 6f 6c 73 22 20 74 68 | menu "T|ools" th|
|00001240| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00001250| 54 6f 6f 6c 73 22 0d 69 | 66 20 74 68 65 72 65 20 |Tools".i|f there |
|00001260| 69 73 20 61 20 6d 65 6e | 75 20 22 46 6f 6e 74 22 |is a men|u "Font"|
|00001270| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00001280| 75 20 22 46 6f 6e 74 22 | 0d 69 66 20 74 68 65 72 |u "Font"|.if ther|
|00001290| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 53 74 79 |e is a m|enu "Sty|
|000012a0| 6c 65 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |le" then| delete |
|000012b0| 6d 65 6e 75 20 22 53 74 | 79 6c 65 22 0d 70 75 74 |menu "St|yle".put|
|000012c0| 20 22 51 75 69 74 22 20 | 69 6e 74 6f 20 6d 65 6e | "Quit" |into men|
|000012d0| 75 20 22 46 69 6c 65 22 | 20 77 69 74 68 20 6d 65 |u "File"| with me|
|000012e0| 6e 75 4d 73 67 20 22 64 | 6f 6d 65 6e 75 20 71 75 |nuMsg "d|omenu qu|
|000012f0| 69 74 20 68 79 70 65 72 | 63 61 72 64 22 0d 73 65 |it hyper|card".se|
|00001300| 74 20 63 6d 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |t cmdCha|r of men|
|00001310| 75 49 74 65 6d 20 31 20 | 6f 66 20 6d 65 6e 75 20 |uItem 1 |of menu |
|00001320| 22 46 69 6c 65 22 20 74 | 6f 20 22 51 22 0d 2d 2d |"File" t|o "Q".--|
|00001330| 20 65 64 69 74 20 6d 65 | 6e 75 0d 70 75 74 20 74 | edit me|nu.put t|
|00001340| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001350| 65 73 20 69 6e 20 6d 65 | 6e 75 20 22 45 64 69 74 |es in me|nu "Edit|
|00001360| 22 20 69 6e 74 6f 20 74 | 68 65 4c 69 6d 69 74 0d |" into t|heLimit.|
|00001370| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00001380| 74 68 65 4c 69 6d 69 74 | 20 64 6f 77 6e 20 74 6f |theLimit| down to|
|00001390| 20 37 0d 64 65 6c 65 74 | 65 20 6d 65 6e 75 49 74 | 7.delet|e menuIt|
|000013a0| 65 6d 20 69 20 6f 66 20 | 6d 65 6e 75 20 22 45 64 |em i of |menu "Ed|
|000013b0| 69 74 22 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 |it".end |repeat.s|
|000013c0| 65 74 20 6e 61 6d 65 20 | 6f 66 20 6d 65 6e 75 49 |et name |of menuI|
|000013d0| 74 65 6d 20 31 20 6f 66 | 20 6d 65 6e 75 20 22 41 |tem 1 of| menu "A|
|000013e0| 70 70 6c 65 22 20 74 6f | 20 22 41 62 6f 75 74 20 |pple" to| "About |
|000013f0| 44 55 c9 22 0d 73 65 74 | 20 6d 65 6e 75 4d 73 67 |DU.".set| menuMsg|
|00001400| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 31 20 6f | of menu|Item 1 o|
|00001410| 66 20 6d 65 6e 75 20 22 | 41 70 70 6c 65 22 20 74 |f menu "|Apple" t|
|00001420| 6f 20 22 67 6f 20 63 64 | 20 49 6e 66 6f 22 0d 73 |o "go cd| Info".s|
|00001430| 68 6f 77 20 6d 65 6e 75 | 42 61 72 0d 65 6e 64 20 |how menu|Bar.end |
|00001440| 63 68 65 63 6b 46 6f 72 | 44 65 76 65 6c 6f 70 65 |checkFor|Develope|
|00001450| 72 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 64 65 76 65 |r..funct|ion deve|
|00001460| 6c 6f 70 65 72 73 0d 72 | 65 74 75 72 6e 20 22 50 |lopers.r|eturn "P|
|00001470| 61 75 6c 20 46 6f 72 61 | 6b 65 72 2c 43 68 61 72 |aul Fora|ker,Char|
|00001480| 6c 65 73 20 4c 6c 6f 79 | 64 2c 50 61 74 20 43 61 |les Lloy|d,Pat Ca|
|00001490| 6c 64 65 72 68 65 61 64 | 2c 4e 61 6e 63 79 20 46 |lderhead|,Nancy F|
|000014a0| 75 6e 6e 65 6c 6c 2c 54 | 6f 6e 79 20 42 65 72 75 |unnell,T|ony Beru|
|000014b0| 6d 65 6e 22 0d 65 6e 64 | 20 64 65 76 65 6c 6f 70 |men".end| develop|
|000014c0| 65 72 73 0d 0d 6f 6e 20 | 63 72 65 61 74 65 41 64 |ers..on |createAd|
|000014d0| 6d 69 6e 4d 65 6e 75 0d | 69 66 20 74 68 65 72 65 |minMenu.|if there|
|000014e0| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 41 64 6d 69 | is a me|nu "Admi|
|000014f0| 6e 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6d |n" then |delete m|
|00001500| 65 6e 75 20 22 41 64 6d | 69 6e 22 0d 63 72 65 61 |enu "Adm|in".crea|
|00001510| 74 65 20 6d 65 6e 75 20 | 22 41 64 6d 69 6e 22 0d |te menu |"Admin".|
|00001520| 70 75 74 20 61 64 6d 69 | 6e 4d 65 6e 75 73 28 29 |put admi|nMenus()|
|00001530| 20 69 6e 74 6f 20 6d 65 | 6e 75 20 22 41 64 6d 69 | into me|nu "Admi|
|00001540| 6e 22 20 77 69 74 68 20 | 6d 65 6e 75 4d 73 67 73 |n" with |menuMsgs|
|00001550| 20 61 64 6d 69 6e 4d 73 | 67 73 28 29 0d 65 6e 64 | adminMs|gs().end|
|00001560| 20 63 72 65 61 74 65 41 | 64 6d 69 6e 4d 65 6e 75 | createA|dminMenu|
|00001570| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 61 64 6d 69 6e |..functi|on admin|
|00001580| 4d 65 6e 75 73 0d 72 65 | 74 75 72 6e c2 0d 22 4c |Menus.re|turn.."L|
|00001590| 6f 63 6b 20 46 69 65 6c | 64 73 2c 45 78 70 6f 72 |ock Fiel|ds,Expor|
|000015a0| 74 20 46 69 65 6c 64 73 | 2c 2d 2c 43 6f 70 79 72 |t Fields|,-,Copyr|
|000015b0| 69 67 68 74 73 2c 45 64 | 69 74 6f 72 22 0d 65 6e |ights,Ed|itor".en|
|000015c0| 64 20 61 64 6d 69 6e 4d | 65 6e 75 73 0d 0d 66 75 |d adminM|enus..fu|
|000015d0| 6e 63 74 69 6f 6e 20 61 | 64 6d 69 6e 4d 73 67 73 |nction a|dminMsgs|
|000015e0| 0d 72 65 74 75 72 6e 20 | 22 6c 6f 63 6b 55 6e 6c |.return |"lockUnl|
|000015f0| 6f 63 6b 46 6c 64 73 2c | 65 78 70 6f 72 74 46 6c |ockFlds,|exportFl|
|00001600| 64 73 2c 65 6d 70 74 79 | 2c 67 6f 20 63 64 20 43 |ds,empty|,go cd C|
|00001610| 6f 70 79 72 69 67 68 74 | 73 2c 67 6f 20 63 64 20 |opyright|s,go cd |
|00001620| 45 64 69 74 6f 72 22 0d | 65 6e 64 20 61 64 6d 69 |Editor".|end admi|
|00001630| 6e 4d 73 67 73 0d 0d 6f | 6e 20 6c 6f 63 6b 55 6e |nMsgs..o|n lockUn|
|00001640| 4c 6f 63 6b 46 6c 64 73 | 0d 70 75 74 20 28 74 68 |LockFlds|.put (th|
|00001650| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|00001660| 6d 20 22 4c 6f 63 6b 20 | 46 69 65 6c 64 73 22 20 |m "Lock |Fields" |
|00001670| 6f 66 20 6d 65 6e 75 20 | 22 41 64 6d 69 6e 22 29 |of menu |"Admin")|
|00001680| 20 69 6e 74 6f 20 62 6f | 6f 6c 0d 6c 6f 63 6b 20 | into bo|ol.lock |
|00001690| 73 63 72 65 65 6e 0d 6c | 6f 63 6b 20 6d 65 73 73 |screen.l|ock mess|
|000016a0| 61 67 65 73 0d 6c 6f 63 | 6b 20 72 65 63 65 6e 74 |ages.loc|k recent|
|000016b0| 0d 70 75 73 68 20 63 61 | 72 64 0d 72 65 70 65 61 |.push ca|rd.repea|
|000016c0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|000016d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|000016e0| 73 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |s.set cu|rsor to |
|000016f0| 62 75 73 79 0d 67 6f 20 | 63 64 20 69 0d 72 65 70 |busy.go |cd i.rep|
|00001700| 65 61 74 20 77 69 74 68 | 20 6a 20 3d 20 31 20 74 |eat with| j = 1 t|
|00001710| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00001720| 63 64 20 66 6c 64 73 0d | 73 65 74 20 74 68 65 20 |cd flds.|set the |
|00001730| 6c 6f 63 6b 54 65 78 74 | 20 6f 66 20 63 64 20 66 |lockText| of cd f|
|00001740| 6c 64 20 6a 20 74 6f 20 | 62 6f 6f 6c 0d 65 6e 64 |ld j to |bool.end|
|00001750| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00001760| 61 74 0d 70 6f 70 20 63 | 61 72 64 0d 69 66 20 62 |at.pop c|ard.if b|
|00001770| 6f 6f 6c 20 74 68 65 6e | 20 70 75 74 20 22 55 6e |ool then| put "Un|
|00001780| 6c 6f 63 6b 20 46 69 65 | 6c 64 73 22 20 69 6e 74 |lock Fie|lds" int|
|00001790| 6f 20 74 68 65 4e 61 6d | 65 0d 65 6c 73 65 20 70 |o theNam|e.else p|
|000017a0| 75 74 20 22 4c 6f 63 6b | 20 46 69 65 6c 64 73 22 |ut "Lock| Fields"|
|000017b0| 20 69 6e 74 6f 20 74 68 | 65 4e 61 6d 65 0d 70 75 | into th|eName.pu|
|000017c0| 74 20 74 68 65 4e 61 6d | 65 20 69 6e 74 6f 20 6d |t theNam|e into m|
|000017d0| 65 6e 75 49 74 65 6d 20 | 31 20 6f 66 20 6d 65 6e |enuItem |1 of men|
|000017e0| 75 20 22 41 64 6d 69 6e | 22 20 77 69 74 68 20 6d |u "Admin|" with m|
|000017f0| 65 6e 75 4d 73 67 20 22 | 6c 6f 63 6b 55 6e 4c 6f |enuMsg "|lockUnLo|
|00001800| 63 6b 46 6c 64 73 22 0d | 65 6e 64 20 6c 6f 63 6b |ckFlds".|end lock|
|00001810| 55 6e 4c 6f 63 6b 46 6c | 64 73 0d 0d 6f 6e 20 65 |UnLockFl|ds..on e|
|00001820| 78 70 6f 72 74 46 6c 64 | 73 0d 61 73 6b 20 66 69 |xportFld|s.ask fi|
|00001830| 6c 65 20 22 50 6c 65 61 | 73 65 20 6e 61 6d 65 20 |le "Plea|se name |
|00001840| 79 6f 75 72 20 65 78 70 | 6f 72 74 20 66 69 6c 65 |your exp|ort file|
|00001850| 3a 22 20 77 69 74 68 20 | 22 44 55 20 44 65 6d 6f |:" with |"DU Demo|
|00001860| 20 45 78 70 6f 72 74 22 | 0d 69 66 20 69 74 20 69 | Export"|.if it i|
|00001870| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00001880| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 70 |t to Hyp|erCard.p|
|00001890| 75 74 20 69 74 20 69 6e | 74 6f 20 65 78 70 6f 72 |ut it in|to expor|
|000018a0| 74 46 4e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |tFN.put |empty in|
|000018b0| 74 6f 20 74 68 65 46 6c | 64 73 0d 72 65 70 65 61 |to theFl|ds.repea|
|000018c0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|000018d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|000018e0| 73 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |s.set cu|rsor to |
|000018f0| 62 75 73 79 0d 69 66 20 | 74 68 65 72 65 20 69 73 |busy.if |there is|
|00001900| 20 61 20 63 64 20 66 6c | 64 20 22 54 69 74 6c 65 | a cd fl|d "Title|
|00001910| 22 20 6f 66 20 63 64 20 | 69 20 74 68 65 6e 0d 70 |" of cd |i then.p|
|00001920| 75 74 20 28 63 64 20 66 | 6c 64 20 22 54 69 74 6c |ut (cd f|ld "Titl|
|00001930| 65 22 20 6f 66 20 63 64 | 20 69 29 20 26 72 65 74 |e" of cd| i) &ret|
|00001940| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 46 6c 64 |urn afte|r theFld|
|00001950| 73 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |s.if the|re is a |
|00001960| 63 64 20 66 6c 64 20 22 | 43 6f 6e 74 65 6e 74 73 |cd fld "|Contents|
|00001970| 22 20 6f 66 20 63 64 20 | 69 20 74 68 65 6e 0d 70 |" of cd |i then.p|
|00001980| 75 74 20 28 63 64 20 66 | 6c 64 20 22 43 6f 6e 74 |ut (cd f|ld "Cont|
|00001990| 65 6e 74 73 22 20 6f 66 | 20 63 64 20 69 29 20 26 |ents" of| cd i) &|
|000019a0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|000019b0| 65 46 6c 64 73 0d 65 6e | 64 20 69 66 0d 70 75 74 |eFlds.en|d if.put|
|000019c0| 20 72 65 74 75 72 6e 20 | 26 72 65 74 75 72 6e 20 | return |&return |
|000019d0| 61 66 74 65 72 20 74 68 | 65 46 6c 64 73 0d 65 6e |after th|eFlds.en|
|000019e0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000019f0| 67 6f 20 63 64 20 22 45 | 64 69 74 6f 72 22 0d 72 |go cd "E|ditor".r|
|00001a00| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00001a10| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001a20| 66 20 63 64 20 66 6c 64 | 73 0d 73 65 74 20 63 75 |f cd fld|s.set cu|
|00001a30| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 69 66 20 |rsor to |busy.if |
|00001a40| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00001a50| 66 20 63 64 20 66 6c 64 | 20 69 20 3d 20 22 63 75 |f cd fld| i = "cu|
|00001a60| 72 72 69 63 75 6c 75 6d | 22 20 74 68 65 6e 20 6e |rriculum|" then n|
|00001a70| 65 78 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 28 |ext repe|at.put (|
|00001a80| 63 64 20 66 6c 64 20 69 | 29 20 26 20 72 65 74 75 |cd fld i|) & retu|
|00001a90| 72 6e 26 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 |rn&retur|n after |
|00001aa0| 74 68 65 46 6c 64 73 0d | 65 6e 64 20 72 65 70 65 |theFlds.|end repe|
|00001ab0| 61 74 0d 6f 70 65 6e 20 | 66 69 6c 65 20 65 78 70 |at.open |file exp|
|00001ac0| 6f 72 74 46 4e 0d 77 72 | 69 74 65 20 74 68 65 46 |ortFN.wr|ite theF|
|00001ad0| 6c 64 73 20 74 6f 20 66 | 69 6c 65 20 65 78 70 6f |lds to f|ile expo|
|00001ae0| 72 74 46 4e 0d 63 6c 6f | 73 65 20 66 69 6c 65 20 |rtFN.clo|se file |
|00001af0| 65 78 70 6f 72 74 46 4e | 0d 61 6e 73 77 65 72 20 |exportFN|.answer |
|00001b00| 22 46 69 6e 69 73 68 65 | 64 20 65 78 70 6f 72 74 |"Finishe|d export|
|00001b10| 69 6e 67 2e 20 44 6f 20 | 79 6f 75 20 77 61 6e 74 |ing. Do |you want|
|00001b20| 20 74 6f 20 73 65 65 20 | 69 74 20 69 6e 20 57 6f | to see |it in Wo|
|00001b30| 72 64 3f 22 c2 0d 77 69 | 74 68 20 22 4e 6f 22 20 |rd?"..wi|th "No" |
|00001b40| 6f 72 20 22 4d 53 20 57 | 6f 72 64 22 0d 69 66 20 |or "MS W|ord".if |
|00001b50| 69 74 20 69 73 20 22 4d | 53 20 57 6f 72 64 22 20 |it is "M|S Word" |
|00001b60| 74 68 65 6e 20 6f 70 65 | 6e 20 65 78 70 6f 72 74 |then ope|n export|
|00001b70| 46 4e 20 77 69 74 68 20 | 22 4d 69 63 72 6f 73 6f |FN with |"Microso|
|00001b80| 66 74 20 57 6f 72 64 22 | 0d 65 6e 64 20 65 78 70 |ft Word"|.end exp|
|00001b90| 6f 72 74 46 6c 64 73 0d | 0d 2d 2d 20 a5 a5 20 55 |ortFlds.|.-- .. U|
|00001ba0| 74 69 6c 73 0d 0d 6f 6e | 20 75 6e 6c 6f 63 6b 53 |tils..on| unlockS|
|00001bb0| 63 72 65 65 6e 52 65 61 | 6c 6c 79 0d 72 65 70 65 |creenRea|lly.repe|
|00001bc0| 61 74 20 75 6e 74 69 6c | 20 6e 6f 74 20 74 68 65 |at until| not the|
|00001bd0| 20 6c 6f 63 6b 53 63 72 | 65 65 6e 0d 75 6e 6c 6f | lockScr|een.unlo|
|00001be0| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 72 65 |ck scree|n.end re|
|00001bf0| 70 65 61 74 0d 65 6e 64 | 20 75 6e 6c 6f 63 6b 53 |peat.end| unlockS|
|00001c00| 63 72 65 65 6e 52 65 61 | 6c 6c 79 0d 0d 2d 2d 20 |creenRea|lly..-- |
|00001c10| 20 a5 20 53 74 72 69 6e | 67 20 4d 61 6e 69 70 75 | . Strin|g Manipu|
|00001c20| 6c 61 74 69 6f 6e 73 0d | 66 75 6e 63 74 69 6f 6e |lations.|function|
|00001c30| 20 74 68 69 72 74 79 54 | 77 6f 43 68 61 72 20 73 | thirtyT|woChar s|
|00001c40| 74 72 0d 72 65 74 75 72 | 6e 28 63 68 61 72 20 31 |tr.retur|n(char 1|
|00001c50| 20 74 6f 20 33 32 20 6f | 66 20 73 74 72 29 0d 65 | to 32 o|f str).e|
|00001c60| 6e 64 20 74 68 69 72 74 | 79 54 77 6f 43 68 61 72 |nd thirt|yTwoChar|
|00001c70| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 63 68 65 63 6b |..functi|on check|
|00001c80| 45 72 72 6f 72 73 20 58 | 74 79 70 65 0d 67 6c 6f |Errors X|type.glo|
|00001c90| 62 61 6c 20 45 72 72 6f | 72 4d 65 73 73 61 67 65 |bal Erro|rMessage|
|00001ca0| 0d 69 66 20 45 72 72 6f | 72 4d 65 73 73 61 67 65 |.if Erro|rMessage|
|00001cb0| 20 ad 20 22 22 20 74 68 | 65 6e 20 20 2d 2d 2f 2f | . "" th|en --//|
|00001cc0| 20 43 61 70 74 61 69 6e | 2c 20 61 6e 20 65 72 72 | Captain|, an err|
|00001cd0| 6f 72 20 68 61 73 20 6f | 63 63 75 72 72 65 64 0d |or has o|ccurred.|
|00001ce0| 61 6e 73 77 65 72 20 58 | 74 79 70 65 20 26 26 22 |answer X|type &&"|
|00001cf0| 45 72 72 6f 72 3a 20 22 | 26 45 72 72 6f 72 4d 65 |Error: "|&ErrorMe|
|00001d00| 73 73 61 67 65 0d 70 75 | 74 20 22 22 20 69 6e 74 |ssage.pu|t "" int|
|00001d10| 6f 20 45 72 72 6f 72 4d | 65 73 73 61 67 65 0d 65 |o ErrorM|essage.e|
|00001d20| 6e 64 20 69 66 0d 65 78 | 69 74 20 74 6f 20 68 79 |nd if.ex|it to hy|
|00001d30| 70 65 72 43 61 72 64 0d | 65 6e 64 20 63 68 65 63 |perCard.|end chec|
|00001d40| 6b 45 72 72 6f 72 73 0d | 0d 0d 2d 2d 20 20 a5 20 |kErrors.|..-- . |
|00001d50| 4c 6f 67 69 63 61 6c 20 | 46 69 6c 65 73 0d 0d 66 |Logical |Files..f|
|00001d60| 75 6e 63 74 69 6f 6e 20 | 44 65 63 4c 6f 67 44 69 |unction |DecLogDi|
|00001d70| 72 20 4c 6f 67 44 69 72 | 0d 69 66 20 4c 6f 67 44 |r LogDir|.if LogD|
|00001d80| 69 72 20 69 73 20 22 54 | 41 3b 22 20 74 68 65 6e |ir is "T|A;" then|
|00001d90| 20 72 65 74 75 72 6e 28 | 22 54 6f 6f 6c 73 20 41 | return(|"Tools A|
|00001da0| 64 76 69 73 6f 72 20 43 | 44 3a 44 65 6d 6f 73 3a |dvisor C|D:Demos:|
|00001db0| 22 29 0d 65 6e 64 20 44 | 65 63 4c 6f 67 44 69 72 |").end D|ecLogDir|
|00001dc0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 44 65 63 4c 6f |..functi|on DecLo|
|00001dd0| 67 46 69 6c 65 20 4c 6f | 67 4e 61 6d 65 0d 2d 2d |gFile Lo|gName.--|
|00001de0| 20 67 69 76 65 6e 20 61 | 20 6c 6f 67 69 63 61 6c | given a| logical|
|00001df0| 20 66 69 6c 65 6e 61 6d | 65 20 72 65 74 75 72 6e | filenam|e return|
|00001e00| 20 74 68 65 20 61 63 74 | 75 61 6c 20 66 69 6c 65 | the act|ual file|
|00001e10| 6e 61 6d 65 0d 70 75 74 | 20 6f 66 66 73 65 74 28 |name.put| offset(|
|00001e20| 22 3b 22 2c 20 4c 6f 67 | 4e 61 6d 65 29 20 69 6e |";", Log|Name) in|
|00001e30| 74 6f 20 4c 6f 67 50 6c | 61 63 65 0d 69 66 20 4c |to LogPl|ace.if L|
|00001e40| 6f 67 50 6c 61 63 65 20 | 3d 20 30 20 74 68 65 6e |ogPlace |= 0 then|
|00001e50| 20 72 65 74 75 72 6e 28 | 4c 6f 67 4e 61 6d 65 29 | return(|LogName)|
|00001e60| 0d 65 6c 73 65 0d 70 75 | 74 20 63 68 61 72 20 28 |.else.pu|t char (|
|00001e70| 4c 6f 67 50 6c 61 63 65 | 2b 31 29 20 74 6f 20 28 |LogPlace|+1) to (|
|00001e80| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 4c 6f |the leng|th of Lo|
|00001e90| 67 4e 61 6d 65 29 20 6f | 66 20 4c 6f 67 4e 61 6d |gName) o|f LogNam|
|00001ea0| 65 20 69 6e 74 6f 20 46 | 4e 61 6d 65 0d 70 75 74 |e into F|Name.put|
|00001eb0| 20 63 68 61 72 20 31 20 | 74 6f 20 4c 6f 67 50 6c | char 1 |to LogPl|
|00001ec0| 61 63 65 20 6f 66 20 4c | 6f 67 4e 61 6d 65 20 69 |ace of L|ogName i|
|00001ed0| 6e 74 6f 20 4c 6f 67 44 | 69 72 0d 70 75 74 20 44 |nto LogD|ir.put D|
|00001ee0| 65 63 4c 6f 67 44 69 72 | 28 4c 6f 67 44 69 72 29 |ecLogDir|(LogDir)|
|00001ef0| 20 69 6e 74 6f 20 41 63 | 74 44 69 72 0d 72 65 74 | into Ac|tDir.ret|
|00001f00| 75 72 6e 20 41 63 74 44 | 69 72 26 46 4e 61 6d 65 |urn ActD|ir&FName|
|00001f10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 44 65 63 4c |.end if.|end DecL|
|00001f20| 6f 67 46 69 6c 65 0d 0d | 66 75 6e 63 74 69 6f 6e |ogFile..|function|
|00001f30| 20 45 6e 63 4c 6f 67 46 | 69 6c 65 20 46 6e 61 6d | EncLogF|ile Fnam|
|00001f40| 65 0d 2d 2d 20 67 69 76 | 65 6e 20 61 20 66 69 6c |e.-- giv|en a fil|
|00001f50| 65 6e 61 6d 65 20 74 72 | 69 65 73 20 74 6f 20 66 |ename tr|ies to f|
|00001f60| 69 6e 64 20 61 20 70 6f | 73 73 69 62 6c 65 20 6c |ind a po|ssible l|
|00001f70| 6f 67 69 63 61 6c 20 6e | 61 6d 65 20 66 6f 72 20 |ogical n|ame for |
|00001f80| 69 74 2e 0d 70 75 74 20 | 22 54 6f 6f 6c 73 20 41 |it..put |"Tools A|
|00001f90| 64 76 69 73 6f 72 20 43 | 44 3a 44 65 6d 6f 73 3a |dvisor C|D:Demos:|
|00001fa0| 22 20 69 6e 74 6f 20 54 | 41 6e 61 6d 65 0d 70 75 |" into T|Aname.pu|
|00001fb0| 74 20 22 54 41 3b 22 20 | 69 6e 74 6f 20 54 41 6c |t "TA;" |into TAl|
|00001fc0| 6f 67 0d 70 75 74 20 6f | 66 66 73 65 74 28 54 41 |og.put o|ffset(TA|
|00001fd0| 6e 61 6d 65 2c 20 46 6e | 61 6d 65 29 20 69 6e 74 |name, Fn|ame) int|
|00001fe0| 6f 20 6f 66 66 56 61 6c | 0d 69 66 20 6f 66 66 56 |o offVal|.if offV|
|00001ff0| 61 6c 3d 20 30 20 74 68 | 65 6e 20 72 65 74 75 72 |al= 0 th|en retur|
|00002000| 6e 20 46 6e 61 6d 65 0d | 65 6c 73 65 0d 70 75 74 |n Fname.|else.put|
|00002010| 20 54 41 6c 6f 67 20 26 | 20 28 63 68 61 72 20 28 | TAlog &| (char (|
|00002020| 6c 65 6e 67 74 68 28 54 | 41 6e 61 6d 65 29 2b 31 |length(T|Aname)+1|
|00002030| 29 20 74 6f 20 6c 65 6e | 67 74 68 28 46 6e 61 6d |) to len|gth(Fnam|
|00002040| 65 29 20 6f 66 20 46 6e | 61 6d 65 29 20 69 6e 74 |e) of Fn|ame) int|
|00002050| 6f 20 4c 6f 67 4e 61 6d | 65 0d 65 6e 64 20 69 66 |o LogNam|e.end if|
|00002060| 0d 72 65 74 75 72 6e 20 | 4c 6f 67 4e 61 6d 65 0d |.return |LogName.|
|00002070| 65 6e 64 20 45 6e 63 4c | 6f 67 46 69 6c 65 0d 0d |end EncL|ogFile..|
|00002080| 2d 2d 20 20 20 20 a5 20 | 46 69 6c 65 6e 61 6d 65 |-- . |Filename|
|00002090| 20 44 69 73 73 65 63 74 | 69 6f 6e 0d 0d 66 75 6e | Dissect|ion..fun|
|000020a0| 63 74 69 6f 6e 20 64 69 | 72 4e 61 6d 65 20 66 4e |ction di|rName fN|
|000020b0| 61 6d 65 0d 2d 2d 20 67 | 69 76 65 6e 20 61 20 66 |ame.-- g|iven a f|
|000020c0| 69 6c 65 6e 61 6d 65 20 | 72 65 74 75 72 6e 20 74 |ilename |return t|
|000020d0| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 70 6f 72 |he direc|tory por|
|000020e0| 74 69 6f 6e 2e 0d 72 65 | 70 65 61 74 20 75 6e 74 |tion..re|peat unt|
|000020f0| 69 6c 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |il last |char of |
|00002100| 66 6e 61 6d 65 20 69 73 | 20 22 3a 22 0d 64 65 6c |fname is| ":".del|
|00002110| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00002120| 20 66 6e 61 6d 65 0d 65 | 6e 64 20 72 65 70 65 61 | fname.e|nd repea|
|00002130| 74 0d 72 65 74 75 72 6e | 20 66 6e 61 6d 65 0d 65 |t.return| fname.e|
|00002140| 6e 64 20 64 69 72 4e 61 | 6d 65 0d 0d 66 75 6e 63 |nd dirNa|me..func|
|00002150| 74 69 6f 6e 20 4a 75 73 | 74 46 69 6c 65 4e 61 6d |tion Jus|tFileNam|
|00002160| 65 20 66 4e 61 6d 65 0d | 2d 2d 20 67 69 76 65 6e |e fName.|-- given|
|00002170| 20 61 20 66 69 6c 65 6e | 61 6d 65 20 72 65 74 75 | a filen|ame retu|
|00002180| 72 6e 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |rn the d|irectory|
|00002190| 20 70 6f 72 74 69 6f 6e | 2e 0d 70 75 74 20 6c 65 | portion|..put le|
|000021a0| 6e 67 74 68 28 66 4e 61 | 6d 65 29 20 69 6e 74 6f |ngth(fNa|me) into|
|000021b0| 20 6c 65 6e 46 4e 61 6d | 65 0d 70 75 74 20 4c 65 | lenFNam|e.put Le|
|000021c0| 6e 46 4e 61 6d 65 20 69 | 6e 74 6f 20 6e 0d 72 65 |nFName i|nto n.re|
|000021d0| 70 65 61 74 20 75 6e 74 | 69 6c 20 63 68 61 72 20 |peat unt|il char |
|000021e0| 6e 20 6f 66 20 66 6e 61 | 6d 65 20 69 73 20 22 3a |n of fna|me is ":|
|000021f0| 22 20 6f 72 20 6e 20 69 | 73 20 30 0d 70 75 74 20 |" or n i|s 0.put |
|00002200| 6e 2d 31 20 69 6e 74 6f | 20 6e 0d 65 6e 64 20 72 |n-1 into| n.end r|
|00002210| 65 70 65 61 74 0d 70 75 | 74 20 63 68 61 72 20 6e |epeat.pu|t char n|
|00002220| 2b 31 20 74 6f 20 6c 65 | 6e 46 4e 61 6d 65 20 6f |+1 to le|nFName o|
|00002230| 66 20 66 4e 61 6d 65 20 | 69 6e 74 6f 20 4a 46 4e |f fName |into JFN|
|00002240| 61 6d 65 0d 72 65 74 75 | 72 6e 20 4a 46 4e 61 6d |ame.retu|rn JFNam|
|00002250| 65 0d 65 6e 64 20 4a 75 | 73 74 46 69 6c 65 4e 61 |e.end Ju|stFileNa|
|00002260| 6d 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 4c 61 75 |me..func|tion Lau|
|00002270| 6e 63 68 44 69 72 0d 70 | 75 74 20 74 68 65 20 76 |nchDir.p|ut the v|
|00002280| 61 6c 75 65 20 6f 66 20 | 77 6f 72 64 20 32 20 6f |alue of |word 2 o|
|00002290| 66 20 74 68 65 20 6c 6f | 6e 67 20 6e 61 6d 65 20 |f the lo|ng name |
|000022a0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 6e |of this |stack in|
|000022b0| 74 6f 20 53 74 61 63 6b | 4e 61 6d 65 0d 72 65 74 |to Stack|Name.ret|
|000022c0| 75 72 6e 20 64 69 72 4e | 61 6d 65 28 53 74 61 63 |urn dirN|ame(Stac|
|000022d0| 6b 4e 61 6d 65 29 0d 65 | 6e 64 20 4c 61 75 6e 63 |kName).e|nd Launc|
|000022e0| 68 44 69 72 0d 0d 2d 2d | 20 20 20 20 a5 20 43 6f |hDir..--| . Co|
|000022f0| 70 79 69 6e 67 0d 0d 6f | 6e 20 46 75 6c 6c 43 6f |pying..o|n FullCo|
|00002300| 70 79 46 6f 6c 64 65 72 | 20 50 72 6f 76 46 6f 6c |pyFolder| ProvFol|
|00002310| 64 65 72 0d 2d 2d 20 74 | 61 6b 65 73 20 61 20 66 |der.-- t|akes a f|
|00002320| 6f 6c 64 65 72 2c 20 61 | 73 6b 73 20 77 68 65 72 |older, a|sks wher|
|00002330| 65 20 69 74 20 73 68 6f | 75 6c 64 20 62 65 20 63 |e it sho|uld be c|
|00002340| 6f 70 69 65 64 20 74 6f | 20 61 6e 64 20 63 6f 70 |opied to| and cop|
|00002350| 69 65 73 20 69 74 2e 0d | 2d 2d 20 69 66 20 69 74 |ies it..|-- if it|
|00002360| 20 77 6f 72 6b 73 20 69 | 74 20 72 65 74 75 72 6e | works i|t return|
|00002370| 73 20 6e 65 77 20 64 65 | 73 74 69 6e 61 74 69 6f |s new de|stinatio|
|00002380| 6e 20 6f 74 68 65 72 77 | 69 73 65 20 69 74 20 72 |n otherw|ise it r|
|00002390| 65 74 75 72 6e 73 20 65 | 6d 70 74 79 0d 70 75 74 |eturns e|mpty.put|
|000023a0| 20 4e 65 77 46 69 6c 65 | 4e 61 6d 65 28 22 53 65 | NewFile|Name("Se|
|000023b0| 6c 65 63 74 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |lect des|tination|
|000023c0| 20 26 20 6e 61 6d 65 20 | 3a 22 2c 22 4e 65 77 20 | & name |:","New |
|000023d0| 46 6f 6c 64 65 72 22 29 | 20 69 6e 74 6f 20 44 65 |Folder")| into De|
|000023e0| 73 74 50 61 74 68 0d 67 | 6f 20 74 68 69 73 20 63 |stPath.g|o this c|
|000023f0| 61 72 64 0d 69 66 20 44 | 65 73 74 50 61 74 68 20 |ard.if D|estPath |
|00002400| ad 20 65 6d 70 74 79 0d | 74 68 65 6e 0d 73 65 74 |. empty.|then.set|
|00002410| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00002420| 0d 50 72 6f 6d 70 74 20 | 31 2c 22 43 6f 70 79 69 |.Prompt |1,"Copyi|
|00002430| 6e 67 20 66 6f 6c 64 65 | 72 2e 2e 2e 22 0d 43 6f |ng folde|r...".Co|
|00002440| 70 79 46 6f 6c 64 65 72 | 20 50 72 6f 76 46 6f 6c |pyFolder| ProvFol|
|00002450| 64 65 72 2c 44 65 73 74 | 50 61 74 68 0d 67 65 74 |der,Dest|Path.get|
|00002460| 20 74 68 65 20 52 65 73 | 75 6c 74 0d 50 72 6f 6d | the Res|ult.Prom|
|00002470| 70 74 20 33 0d 69 66 20 | 69 74 20 ad 20 65 6d 70 |pt 3.if |it . emp|
|00002480| 74 79 0d 74 68 65 6e 20 | 61 6e 73 77 65 72 20 69 |ty.then |answer i|
|00002490| 74 0d 61 6e 73 77 65 72 | 20 22 54 6f 20 76 69 65 |t.answer| "To vie|
|000024a0| 77 20 74 68 65 20 64 65 | 6d 6f 20 70 6c 65 61 73 |w the de|mo pleas|
|000024b0| 65 20 67 6f 20 74 6f 20 | 74 68 65 20 66 6f 6c 6c |e go to |the foll|
|000024c0| 6f 77 69 6e 67 20 66 6f | 6c 64 65 72 20 61 6e 64 |owing fo|lder and|
|000024d0| 20 66 6f 6c 6c 6f 77 20 | 64 69 72 65 63 74 69 6f | follow |directio|
|000024e0| 6e 73 20 74 68 65 72 65 | 3a 22 20 26 20 72 65 74 |ns there|:" & ret|
|000024f0| 75 72 6e 20 26 20 20 44 | 65 73 74 50 61 74 68 0d |urn & D|estPath.|
|00002500| 65 6e 64 20 69 66 0d 65 | 6e 64 20 46 75 6c 6c 43 |end if.e|nd FullC|
|00002510| 6f 70 79 46 6f 6c 64 65 | 72 0d 0d 0d 2d 2d 20 20 |opyFolde|r...-- |
|00002520| 20 20 a5 20 4c 61 75 6e | 63 68 69 6e 67 20 41 70 | . Laun|ching Ap|
|00002530| 70 6c 69 63 61 74 69 6f | 6e 73 0d 0d 66 75 6e 63 |plicatio|ns..func|
|00002540| 74 69 6f 6e 20 49 73 41 | 70 70 6c 52 75 6e 6e 69 |tion IsA|pplRunni|
|00002550| 6e 67 20 61 70 70 43 72 | 65 61 74 6f 72 0d 67 6c |ng appCr|eator.gl|
|00002560| 6f 62 61 6c 20 45 72 72 | 6f 72 4d 65 73 73 61 67 |obal Err|orMessag|
|00002570| 65 0d 69 66 20 4d 46 49 | 73 52 75 6e 6e 69 6e 67 |e.if MFI|sRunning|
|00002580| 28 22 6e 6f 44 69 61 6c | 6f 67 3a 45 72 72 6f 72 |("noDial|og:Error|
|00002590| 4d 65 73 73 61 67 65 22 | 29 0d 74 68 65 6e 0d 69 |Message"|).then.i|
|000025a0| 66 20 45 72 72 6f 72 4d | 65 73 73 61 67 65 20 ad |f ErrorM|essage .|
|000025b0| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 22 4d 46 | "" then| put "MF|
|000025c0| 49 73 52 75 6e 6e 69 6e | 67 20 22 20 26 20 45 72 |IsRunnin|g " & Er|
|000025d0| 72 6f 72 4d 65 73 73 61 | 67 65 20 69 6e 74 6f 20 |rorMessa|ge into |
|000025e0| 6d 73 67 0d 70 75 74 20 | 41 70 70 6c 69 63 61 74 |msg.put |Applicat|
|000025f0| 69 6f 6e 4c 69 73 74 28 | 22 6e 6f 44 69 61 6c 6f |ionList(|"noDialo|
|00002600| 67 3a 45 72 72 6f 72 4d | 65 73 73 61 67 65 22 29 |g:ErrorM|essage")|
|00002610| 20 69 6e 74 6f 20 61 70 | 70 73 4f 70 65 6e 0d 69 | into ap|psOpen.i|
|00002620| 66 20 45 72 72 6f 72 4d | 65 73 73 61 67 65 20 ad |f ErrorM|essage .|
|00002630| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 22 41 70 | "" then| put "Ap|
|00002640| 70 6c 69 63 61 74 69 6f | 6e 4c 69 73 74 20 22 26 |plicatio|nList "&|
|00002650| 20 45 72 72 6f 72 4d 65 | 73 73 61 67 65 20 69 6e | ErrorMe|ssage in|
|00002660| 74 6f 20 6d 73 67 0d 69 | 66 20 61 70 70 43 72 65 |to msg.i|f appCre|
|00002670| 61 74 6f 72 20 69 73 20 | 69 6e 20 61 70 70 73 4f |ator is |in appsO|
|00002680| 70 65 6e 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |pen then| return |
|00002690| 54 52 55 45 0d 65 6c 73 | 65 20 72 65 74 75 72 6e |TRUE.els|e return|
|000026a0| 20 46 41 4c 53 45 0d 65 | 6c 73 65 0d 72 65 74 75 | FALSE.e|lse.retu|
|000026b0| 72 6e 20 46 41 4c 53 45 | 0d 65 6e 64 20 69 66 0d |rn FALSE|.end if.|
|000026c0| 65 6e 64 20 49 73 41 70 | 70 6c 52 75 6e 6e 69 6e |end IsAp|plRunnin|
|000026d0| 67 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 49 73 4d 61 |g..funct|ion IsMa|
|000026e0| 63 57 72 69 74 65 4f 70 | 65 6e 0d 72 65 74 75 72 |cWriteOp|en.retur|
|000026f0| 6e 28 49 73 41 70 70 6c | 52 75 6e 6e 69 6e 67 28 |n(IsAppl|Running(|
|00002700| 22 4d 57 49 49 22 29 29 | 0d 65 6e 64 20 49 73 4d |"MWII"))|.end IsM|
|00002710| 61 63 57 72 69 74 65 4f | 70 65 6e 0d 0d 6f 6e 20 |acWriteO|pen..on |
|00002720| 53 68 6f 77 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ShowInst|ructions|
|00002730| 20 49 6e 73 74 46 69 6c | 65 0d 67 6c 6f 62 61 6c | InstFil|e.global|
|00002740| 20 67 64 65 76 65 6c 6f | 70 65 72 73 74 61 74 75 | gdevelo|perstatu|
|00002750| 73 0d 69 66 20 67 64 65 | 76 65 6c 6f 70 65 72 73 |s.if gde|velopers|
|00002760| 74 61 74 75 73 20 69 73 | 20 74 72 75 65 0d 74 68 |tatus is| true.th|
|00002770| 65 6e 0d 70 75 74 20 22 | 4c 75 6e 61 3a 41 70 70 |en.put "|Luna:App|
|00002780| 6c 69 63 61 74 69 6f 6e | 73 3a 4d 61 63 57 72 69 |lication|s:MacWri|
|00002790| 74 65 3a 4d 61 63 57 72 | 69 74 65 20 49 49 20 31 |te:MacWr|ite II 1|
|000027a0| 2e 31 76 31 3a 4d 61 63 | 57 72 69 74 65 20 49 49 |.1v1:Mac|Write II|
|000027b0| 22 20 69 6e 74 6f 20 4d | 61 63 57 72 69 74 65 0d |" into M|acWrite.|
|000027c0| 65 6c 73 65 0d 70 75 74 | 20 22 54 6f 6f 6c 73 20 |else.put| "Tools |
|000027d0| 41 64 76 69 73 6f 72 20 | 43 44 3a 47 45 54 54 49 |Advisor |CD:GETTI|
|000027e0| 4e 47 20 53 54 41 52 54 | 45 44 3a 41 70 70 6c 69 |NG START|ED:Appli|
|000027f0| 63 61 74 69 6f 6e 73 3a | 4d 61 63 57 72 69 74 65 |cations:|MacWrite|
|00002800| 20 49 49 20 44 65 6d 6f | 3a 4d 61 63 57 72 69 74 | II Demo|:MacWrit|
|00002810| 65 20 49 49 20 44 65 6d | 6f 22 20 c2 0d 69 6e 74 |e II Dem|o" ..int|
|00002820| 6f 20 4d 61 63 57 72 69 | 74 65 0d 65 6e 64 20 69 |o MacWri|te.end i|
|00002830| 66 0d 0d 70 75 74 20 44 | 65 63 4c 6f 67 46 69 6c |f..put D|ecLogFil|
|00002840| 65 28 49 6e 73 74 46 69 | 6c 65 29 20 69 6e 74 6f |e(InstFi|le) into|
|00002850| 20 41 63 74 46 69 6c 65 | 0d 0d 69 66 20 49 73 4d | ActFile|..if IsM|
|00002860| 61 63 57 72 69 74 65 4f | 70 65 6e 28 29 20 69 73 |acWriteO|pen() is|
|00002870| 20 74 72 75 65 20 74 68 | 65 6e 20 62 65 65 70 0d | true th|en beep.|
|00002880| 0d 69 66 20 49 73 4d 61 | 63 57 72 69 74 65 4f 70 |.if IsMa|cWriteOp|
|00002890| 65 6e 28 29 20 69 73 20 | 74 72 75 65 20 74 68 65 |en() is |true the|
|000028a0| 6e 20 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2e |n answer| "Sorry.|
|000028b0| 20 20 54 68 65 20 69 6e | 73 74 72 75 63 74 69 6f | The in|structio|
|000028c0| 6e 73 20 63 61 6e 20 6e | 6f 74 20 62 65 20 6f 70 |ns can n|ot be op|
|000028d0| 65 6e 6e 65 64 20 77 68 | 65 6e 20 4d 61 63 57 72 |enned wh|en MacWr|
|000028e0| 69 74 65 49 49 20 69 73 | 20 61 6c 72 65 61 64 79 |iteII is| already|
|000028f0| 20 72 75 6e 6e 69 6e 67 | 2e 22 20 26 20 72 65 74 | running|." & ret|
|00002900| 75 72 6e 20 26 20 72 65 | 74 75 72 6e 20 26 c2 0d |urn & re|turn &..|
|00002910| 22 50 6c 65 61 73 65 20 | 65 69 74 68 65 72 20 71 |"Please |either q|
|00002920| 75 69 74 20 66 72 6f 6d | 20 4d 61 63 57 72 69 74 |uit from| MacWrit|
|00002930| 65 49 49 20 6f 72 20 6f | 70 65 6e 20 69 6e 73 74 |eII or o|pen inst|
|00002940| 72 75 63 74 69 6f 6e 73 | 20 6d 61 6e 75 61 6c 6c |ructions| manuall|
|00002950| 79 2e 20 20 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |y. Inst|ructions|
|00002960| 20 63 61 6e 20 62 65 20 | 66 6f 75 6e 64 20 69 6e | can be |found in|
|00002970| 20 74 68 65 20 44 65 6d | 6f 73 20 66 6f 6c 64 65 | the Dem|os folde|
|00002980| 72 2e 22 20 77 69 74 68 | 20 4f 4b 0d 65 6c 73 65 |r." with| OK.else|
|00002990| 20 70 75 74 20 54 41 4c | 61 75 6e 63 68 28 4d 61 | put TAL|aunch(Ma|
|000029a0| 63 57 72 69 74 65 2c 41 | 63 74 46 69 6c 65 2c 54 |cWrite,A|ctFile,T|
|000029b0| 52 55 45 29 20 69 6e 74 | 6f 20 6e 6f 77 68 65 72 |RUE) int|o nowher|
|000029c0| 65 0d 0d 65 6e 64 20 53 | 68 6f 77 49 6e 73 74 72 |e..end S|howInstr|
|000029d0| 75 63 74 69 6f 6e 73 0d | 0d 66 75 6e 63 74 69 6f |uctions.|.functio|
|000029e0| 6e 20 54 41 4c 61 75 6e | 63 68 20 74 68 65 41 70 |n TALaun|ch theAp|
|000029f0| 70 6c 69 63 61 74 69 6f | 6e 2c 74 68 65 46 69 6c |plicatio|n,theFil|
|00002a00| 65 2c 65 72 72 6f 72 43 | 68 65 63 6b 0d 2d 2d 20 |e,errorC|heck.-- |
|00002a10| 6c 61 75 6e 63 68 65 73 | 20 74 68 65 41 70 70 6c |launches| theAppl|
|00002a20| 69 63 61 74 69 6f 6e 20 | 77 69 74 68 20 74 68 65 |ication |with the|
|00002a30| 46 69 6c 65 20 61 6e 64 | 20 64 6f 65 73 20 65 72 |File and| does er|
|00002a40| 72 6f 72 20 63 68 65 63 | 6b 69 6e 67 20 69 66 20 |ror chec|king if |
|00002a50| 6c 61 73 74 20 61 72 67 | 20 69 73 20 74 72 75 65 |last arg| is true|
|00002a60| 0d 2d 2d 20 69 66 20 6c | 61 75 6e 63 68 20 69 73 |.-- if l|aunch is|
|00002a70| 20 6e 6f 74 20 73 75 63 | 63 65 73 73 66 75 6c 20 | not suc|cessful |
|00002a80| 28 6c 65 74 73 27 73 20 | 73 61 79 20 62 65 63 61 |(lets's |say beca|
|00002a90| 75 73 65 20 6f 66 20 6c | 61 63 6b 20 6f 66 20 6d |use of l|ack of m|
|00002aa0| 65 6d 6f 72 79 29 20 74 | 68 65 6e 0d 2d 2d 20 72 |emory) t|hen.-- r|
|00002ab0| 65 74 75 72 6e 20 66 61 | 6c 73 65 2e 20 20 6f 74 |eturn fa|lse. ot|
|00002ac0| 68 65 72 77 69 73 65 20 | 72 65 74 75 72 6e 20 74 |herwise |return t|
|00002ad0| 68 65 20 72 65 73 75 6c | 74 20 6f 66 20 6c 61 75 |he resul|t of lau|
|00002ae0| 6e 63 68 69 6e 67 20 74 | 68 65 20 61 70 70 6c 69 |nching t|he appli|
|00002af0| 63 61 74 69 6f 6e 0d 2d | 2d 20 77 68 69 63 68 20 |cation.-|- which |
|00002b00| 69 73 20 22 22 20 6f 6e | 20 73 75 63 63 65 73 73 |is "" on| success|
|00002b10| 20 61 6e 64 20 61 20 66 | 75 6c 6c 20 73 74 72 69 | and a f|ull stri|
|00002b20| 6e 67 20 6f 6e 20 65 72 | 72 6f 72 2e 0d 0d 69 66 |ng on er|ror...if|
|00002b30| 20 65 72 72 6f 72 63 68 | 65 63 6b 20 69 73 20 74 | errorch|eck is t|
|00002b40| 72 75 65 20 74 68 65 6e | 20 70 75 74 20 4f 4b 74 |rue then| put OKt|
|00002b50| 6f 4c 61 75 6e 63 68 28 | 74 68 65 41 70 70 6c 69 |oLaunch(|theAppli|
|00002b60| 63 61 74 69 6f 6e 29 20 | 69 6e 74 6f 20 4c 61 75 |cation) |into Lau|
|00002b70| 6e 63 68 49 54 0d 65 6c | 73 65 20 70 75 74 20 74 |nchIT.el|se put t|
|00002b80| 72 75 65 20 69 6e 74 6f | 20 4c 61 75 6e 63 68 49 |rue into| LaunchI|
|00002b90| 74 0d 0d 69 66 20 4c 61 | 75 6e 63 68 49 74 20 69 |t..if La|unchIt i|
|00002ba0| 73 20 74 72 75 65 0d 74 | 68 65 6e 0d 69 66 20 74 |s true.t|hen.if t|
|00002bb0| 68 65 46 69 6c 65 20 69 | 73 20 65 6d 70 74 79 20 |heFile i|s empty |
|00002bc0| 74 68 65 6e 20 6f 70 65 | 6e 20 74 68 65 41 70 70 |then ope|n theApp|
|00002bd0| 6c 69 63 61 74 69 6f 6e | 0d 65 6c 73 65 20 6f 70 |lication|.else op|
|00002be0| 65 6e 20 74 68 65 46 69 | 6c 65 20 77 69 74 68 20 |en theFi|le with |
|00002bf0| 74 68 65 41 70 70 6c 69 | 63 61 74 69 6f 6e 0d 72 |theAppli|cation.r|
|00002c00| 65 74 75 72 6e 28 74 68 | 65 20 72 65 73 75 6c 74 |eturn(th|e result|
|00002c10| 29 0d 65 6c 73 65 0d 72 | 65 74 75 72 6e 20 46 41 |).else.r|eturn FA|
|00002c20| 4c 53 45 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 54 |LSE.end |if.end T|
|00002c30| 41 4c 61 75 6e 63 68 0d | 0d 2d 2d 20 20 20 20 a5 |ALaunch.|.-- .|
|00002c40| 20 43 68 65 63 6b 69 6e | 67 20 74 68 65 20 45 6e | Checkin|g the En|
|00002c50| 76 69 72 6f 6e 6d 65 6e | 74 0d 0d 66 75 6e 63 74 |vironmen|t..funct|
|00002c60| 69 6f 6e 20 4f 4b 74 6f | 4c 61 75 6e 63 68 20 61 |ion OKto|Launch a|
|00002c70| 70 70 50 61 74 68 2c 61 | 70 70 52 41 4d 0d 0d 2d |ppPath,a|ppRAM..-|
|00002c80| 2d 2f 2f 20 48 61 6e 64 | 6c 65 72 20 74 6f 20 64 |-// Hand|ler to d|
|00002c90| 65 74 65 72 6d 69 6e 65 | 20 69 66 20 61 6c 6c 20 |etermine| if all |
|00002ca0| 63 6f 6e 64 69 74 69 6f | 6e 73 20 61 72 65 20 63 |conditio|ns are c|
|00002cb0| 6f 72 72 65 63 74 20 74 | 6f 20 6c 61 75 6e 63 68 |orrect t|o launch|
|00002cc0| 0d 2d 2d 2f 2f 20 61 20 | 64 65 6d 6f 20 6f 72 20 |.--// a |demo or |
|00002cd0| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 2e 0d 2d 2d |presenta|tion..--|
|00002ce0| 20 61 70 70 50 61 74 68 | 20 69 73 20 74 68 65 20 | appPath| is the |
|00002cf0| 66 75 6c 6c 20 70 61 74 | 68 6e 61 6d 65 2c 20 61 |full pat|hname, a|
|00002d00| 70 70 52 41 4d 20 69 73 | 20 6f 70 74 69 6f 6e 61 |ppRAM is| optiona|
|00002d10| 6c 20 61 6e 64 20 63 6f | 75 6c 64 20 63 6f 6e 74 |l and co|uld cont|
|00002d20| 61 69 6e 20 72 65 71 75 | 69 72 65 64 20 52 41 4d |ain requ|ired RAM|
|00002d30| 0d 2d 2d 20 4c 6f 6f 6b | 73 20 61 74 20 61 76 61 |.-- Look|s at ava|
|00002d40| 69 6c 61 62 6c 65 20 6d | 65 6d 6f 72 79 2c 20 69 |ilable m|emory, i|
|00002d50| 66 20 4f 4b 20 72 65 74 | 75 72 6e 73 20 54 52 55 |f OK ret|urns TRU|
|00002d60| 45 20 6f 74 68 65 72 77 | 69 73 65 20 72 65 74 75 |E otherw|ise retu|
|00002d70| 72 6e 73 20 46 41 4c 53 | 45 0d 2d 2d 20 69 66 20 |rns FALS|E.-- if |
|00002d80| 63 61 6e 27 74 20 66 69 | 6e 64 20 66 69 6c 65 2c |can't fi|nd file,|
|00002d90| 20 6c 65 74 20 6d 65 20 | 6b 6e 6f 77 0d 2d 2d 20 | let me |know.-- |
|00002da0| 69 66 20 61 70 70 20 69 | 73 20 61 6c 72 65 61 64 |if app i|s alread|
|00002db0| 79 20 6f 70 65 6e 20 69 | 6e 20 4d 75 6c 74 69 46 |y open i|n MultiF|
|00002dc0| 69 6e 64 65 72 20 6a 75 | 73 74 20 72 65 74 75 72 |inder ju|st retur|
|00002dd0| 6e 20 74 72 75 65 2e 2e | 2e 0d 0d 67 6c 6f 62 61 |n true..|...globa|
|00002de0| 6c 20 64 65 76 31 2c 45 | 72 72 6f 72 4d 65 73 73 |l dev1,E|rrorMess|
|00002df0| 61 67 65 0d 70 75 74 20 | 46 41 4c 53 45 20 69 6e |age.put |FALSE in|
|00002e00| 74 6f 20 64 65 76 31 0d | 73 65 74 20 63 75 72 73 |to dev1.|set curs|
|00002e10| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 72 65 74 75 |or to wa|tch.retu|
|00002e20| 72 6e 20 28 54 52 55 45 | 29 0d 69 66 20 6e 6f 74 |rn (TRUE|).if not|
|00002e30| 20 66 69 6c 65 45 78 69 | 73 74 73 20 28 61 70 70 | fileExi|sts (app|
|00002e40| 50 61 74 68 29 20 74 68 | 65 6e 0d 61 6e 73 77 65 |Path) th|en.answe|
|00002e50| 72 20 28 22 43 6f 75 6c | 64 20 6e 6f 74 20 66 69 |r ("Coul|d not fi|
|00002e60| 6e 64 20 74 68 65 20 66 | 69 6c 65 3a 22 20 26 72 |nd the f|ile:" &r|
|00002e70| 65 74 75 72 6e 20 26 20 | 71 75 6f 74 65 20 26 20 |eturn & |quote & |
|00002e80| 61 70 70 50 61 74 68 20 | 26 20 71 75 6f 74 65 29 |appPath |& quote)|
|00002e90| 20 77 69 74 68 20 4f 4b | 0d 72 65 74 75 72 6e 28 | with OK|.return(|
|00002ea0| 46 41 4c 53 45 29 0d 65 | 6e 64 20 69 66 0d 0d 70 |FALSE).e|nd if..p|
|00002eb0| 75 74 20 66 69 6c 65 43 | 72 65 61 74 6f 72 28 61 |ut fileC|reator(a|
|00002ec0| 70 70 50 61 74 68 29 20 | 69 6e 74 6f 20 61 70 70 |ppPath) |into app|
|00002ed0| 43 72 65 61 74 6f 72 0d | 69 66 20 49 73 41 70 70 |Creator.|if IsApp|
|00002ee0| 6c 52 75 6e 6e 69 6e 67 | 28 61 70 70 43 72 65 61 |lRunning|(appCrea|
|00002ef0| 74 6f 72 29 20 74 68 65 | 6e 20 72 65 74 75 72 6e |tor) the|n return|
|00002f00| 28 54 52 55 45 29 0d 0d | 0d 2d 2d 2f 2f 20 4d 65 |(TRUE)..|.--// Me|
|00002f10| 6d 6f 72 79 20 49 73 73 | 75 65 73 20 5c 5c 2d 2d |mory Iss|ues \\--|
|00002f20| 0d 0d 69 66 20 64 65 76 | 31 20 69 73 20 54 52 55 |..if dev|1 is TRU|
|00002f30| 45 20 74 68 65 6e 20 70 | 75 74 20 22 41 74 20 45 |E then p|ut "At E|
|00002f40| 6e 76 69 72 6f 6e 6d 65 | 6e 74 3a 41 76 61 69 6c |nvironme|nt:Avail|
|00002f50| 4d 65 6d 6f 72 79 20 63 | 61 6c 6c 22 0d 0d 2d 2d |Memory c|all"..--|
|00002f60| 2f 2f 20 67 65 74 20 6d | 65 6d 6f 72 79 20 61 76 |// get m|emory av|
|00002f70| 61 69 6c 61 62 6c 65 20 | 66 6f 72 20 61 70 70 6c |ailable |for appl|
|00002f80| 69 63 61 74 69 6f 6e 73 | 0d 70 75 74 20 28 61 70 |ications|.put (ap|
|00002f90| 70 6c 4d 65 6d 6f 72 79 | 28 22 6e 6f 44 69 61 6c |plMemory|("noDial|
|00002fa0| 6f 67 3a 45 72 72 6f 72 | 4d 65 73 73 61 67 65 22 |og:Error|Message"|
|00002fb0| 29 20 64 69 76 20 31 30 | 32 34 29 20 69 6e 74 6f |) div 10|24) into|
|00002fc0| 20 66 72 65 65 4d 65 6d | 20 20 20 20 20 20 20 20 | freeMem| |
|00002fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 2d 2f | | --/|
|00002fe0| 2f 20 58 46 43 4e 0d 69 | 66 20 45 72 72 6f 72 4d |/ XFCN.i|f ErrorM|
|00002ff0| 65 73 73 61 67 65 20 ad | 20 22 22 20 74 68 65 6e |essage .| "" then|
|00003000| 20 67 65 74 20 63 68 65 | 63 6b 45 72 72 6f 72 73 | get che|ckErrors|
|00003010| 28 22 61 70 70 6c 4d 65 | 6d 6f 72 79 22 29 0d 2d |("applMe|mory").-|
|00003020| 2d 2f 2f 20 46 75 64 67 | 65 20 66 61 63 74 6f 72 |-// Fudg|e factor|
|00003030| 20 74 6f 20 65 72 72 20 | 6f 6e 20 74 68 65 20 72 | to err |on the r|
|00003040| 69 67 68 74 20 73 69 64 | 65 0d 70 75 74 20 28 72 |ight sid|e.put (r|
|00003050| 6f 75 6e 64 20 28 2e 39 | 35 2a 66 72 65 65 4d 65 |ound (.9|5*freeMe|
|00003060| 6d 29 29 20 69 6e 74 6f | 20 66 72 65 65 4d 65 6d |m)) into| freeMem|
|00003070| 0d 0d 2d 2d 2f 2f 20 69 | 66 20 61 70 70 52 41 4d |..--// i|f appRAM|
|00003080| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00003090| 75 74 20 74 68 65 20 4d | 69 6e 69 6d 75 6d 20 4d |ut the M|inimum M|
|000030a0| 65 6d 6f 72 79 20 52 65 | 71 20 69 6e 74 6f 20 69 |emory Re|q into i|
|000030b0| 74 0d 69 66 20 64 65 76 | 31 20 69 73 20 54 52 55 |t.if dev|1 is TRU|
|000030c0| 45 20 74 68 65 6e 20 70 | 75 74 20 22 45 6e 76 69 |E then p|ut "Envi|
|000030d0| 72 6f 6e 6d 65 6e 74 3a | 43 68 65 63 6b 20 53 49 |ronment:|Check SI|
|000030e0| 5a 45 20 72 65 73 6f 75 | 72 63 65 22 0d 69 66 20 |ZE resou|rce".if |
|000030f0| 22 57 49 4c 44 22 20 69 | 73 20 6e 6f 74 20 69 6e |"WILD" i|s not in|
|00003100| 20 61 70 70 43 72 65 61 | 74 6f 72 20 61 6e 64 20 | appCrea|tor and |
|00003110| 61 70 70 52 41 4d 20 69 | 73 20 65 6d 70 74 79 20 |appRAM i|s empty |
|00003120| 74 68 65 6e 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |then.put| item 1 |
|00003130| 6f 66 20 41 50 50 4c 73 | 69 7a 65 28 61 70 70 50 |of APPLs|ize(appP|
|00003140| 61 74 68 2c 22 6e 6f 64 | 69 61 6c 6f 67 3a 45 72 |ath,"nod|ialog:Er|
|00003150| 72 6f 72 4d 65 73 73 61 | 67 65 22 29 20 c2 0d 69 |rorMessa|ge") ..i|
|00003160| 6e 74 6f 20 6d 69 6e 4d | 65 6d 0d 2d 2d 2f 2f 20 |nto minM|em.--// |
|00003170| 61 73 73 75 6d 65 20 74 | 68 69 73 20 65 72 72 6f |assume t|his erro|
|00003180| 72 20 69 73 20 6c 61 63 | 6b 20 6f 66 20 53 49 5a |r is lac|k of SIZ|
|00003190| 45 20 72 65 73 6f 75 72 | 63 65 2c 20 6e 6f 74 20 |E resour|ce, not |
|000031a0| 66 61 74 61 6c 20 65 72 | 72 6f 72 0d 69 66 20 45 |fatal er|ror.if E|
|000031b0| 72 72 6f 72 4d 65 73 73 | 61 67 65 20 69 73 20 22 |rrorMess|age is "|
|000031c0| 43 6f 75 6c 64 20 6e 6f | 74 20 6c 6f 61 64 20 d4 |Could no|t load .|
|000031d0| 53 49 5a 45 d5 20 72 65 | 73 6f 75 72 63 65 73 22 |SIZE. re|sources"|
|000031e0| 20 74 68 65 6e 0d 70 75 | 74 20 35 31 32 20 69 6e | then.pu|t 512 in|
|000031f0| 74 6f 20 6d 69 6e 4d 65 | 6d 0d 70 75 74 20 65 6d |to minMe|m.put em|
|00003200| 70 74 79 20 69 6e 74 6f | 20 45 72 72 6f 72 4d 65 |pty into| ErrorMe|
|00003210| 73 73 61 67 65 0d 65 6c | 73 65 20 69 66 20 45 72 |ssage.el|se if Er|
|00003220| 72 6f 72 4d 65 73 73 61 | 67 65 20 ad 20 22 22 20 |rorMessa|ge . "" |
|00003230| 74 68 65 6e 20 67 65 74 | 20 63 68 65 63 6b 45 72 |then get| checkEr|
|00003240| 72 6f 72 73 28 22 41 50 | 50 4c 73 69 7a 65 22 29 |rors("AP|PLsize")|
|00003250| 0d 70 75 74 20 6d 69 6e | 4d 65 6d 20 64 69 76 20 |.put min|Mem div |
|00003260| 31 30 32 34 20 69 6e 74 | 6f 20 61 70 70 52 41 4d |1024 int|o appRAM|
|00003270| 0d 65 6e 64 20 69 66 0d | 0d 69 66 20 61 70 70 52 |.end if.|.if appR|
|00003280| 41 4d 20 3e 20 66 72 65 | 65 4d 65 6d 20 74 68 65 |AM > fre|eMem the|
|00003290| 6e 0d 61 6e 73 77 65 72 | 20 22 54 68 65 72 65 20 |n.answer| "There |
|000032a0| 69 73 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 6d 65 |is not e|nough me|
|000032b0| 6d 6f 72 79 20 61 76 61 | 69 6c 61 62 6c 65 20 74 |mory ava|ilable t|
|000032c0| 6f 20 72 75 6e 20 74 68 | 69 73 20 61 70 70 6c 69 |o run th|is appli|
|000032d0| 63 61 74 69 6f 6e 2e 22 | 20 26 20 72 65 74 75 72 |cation."| & retur|
|000032e0| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 c2 0d 61 70 |n & retu|rn &..ap|
|000032f0| 70 52 41 4d 26 20 22 4b | 20 69 73 20 72 65 71 75 |pRAM& "K| is requ|
|00003300| 69 72 65 64 2e 22 26 20 | 72 65 74 75 72 6e 26 c2 |ired."& |return&.|
|00003310| 0d 66 72 65 65 4d 65 6d | 26 22 4b 20 69 73 20 61 |.freeMem|&"K is a|
|00003320| 76 61 69 6c 61 62 6c 65 | 2e 22 20 26 20 72 65 74 |vailable|." & ret|
|00003330| 75 72 6e 20 26 20 72 65 | 74 75 72 6e 20 26 c2 0d |urn & re|turn &..|
|00003340| 22 54 72 79 20 71 75 69 | 74 74 69 6e 67 20 6f 74 |"Try qui|tting ot|
|00003350| 68 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |her appl|ications|
|00003360| 2c 20 69 66 20 61 6e 79 | 2e 22 26 72 65 74 75 72 |, if any|."&retur|
|00003370| 6e 26 c2 0d 22 4f 74 68 | 65 72 77 69 73 65 2c 20 |n&.."Oth|erwise, |
|00003380| 71 75 69 74 20 74 68 65 | 20 54 6f 6f 6c 73 20 41 |quit the| Tools A|
|00003390| 64 76 69 73 6f 72 20 61 | 6e 64 20 6c 61 75 6e 63 |dvisor a|nd launc|
|000033a0| 68 20 74 68 65 20 64 65 | 6d 6f 20 74 68 72 6f 75 |h the de|mo throu|
|000033b0| 67 68 20 74 68 65 20 46 | 69 6e 64 65 72 2e 22 20 |gh the F|inder." |
|000033c0| 77 69 74 68 c2 0d 22 43 | 61 6e 63 65 6c 22 20 6f |with.."C|ancel" o|
|000033d0| 72 20 22 54 72 79 20 41 | 6e 79 77 61 79 22 0d 69 |r "Try A|nyway".i|
|000033e0| 66 20 69 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |f it is |"Cancel"|
|000033f0| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 66 61 6c | then re|turn fal|
|00003400| 73 65 0d 69 66 20 69 74 | 20 69 73 20 22 54 72 79 |se.if it| is "Try|
|00003410| 20 41 6e 79 77 61 79 22 | 20 74 68 65 6e 20 72 65 | Anyway"| then re|
|00003420| 74 75 72 6e 20 74 72 75 | 65 0d 65 6e 64 20 69 66 |turn tru|e.end if|
|00003430| 0d 72 65 74 75 72 6e 20 | 54 52 55 45 0d 0d 65 6e |.return |TRUE..en|
|00003440| 64 20 4f 4b 74 6f 4c 61 | 75 6e 63 68 0d 0d 0d 2d |d OKtoLa|unch...-|
|00003450| 2d 20 20 20 20 a5 20 4d | 69 73 63 2e 0d 0d 6f 6e |- . M|isc...on|
|00003460| 20 77 72 69 74 65 53 74 | 61 74 75 73 20 73 74 72 | writeSt|atus str|
|00003470| 0d 70 75 74 20 73 74 72 | 20 61 66 74 65 72 20 63 |.put str| after c|
|00003480| 64 20 66 6c 64 20 22 4c | 69 73 74 65 6e 65 72 22 |d fld "L|istener"|
|00003490| 0d 65 6e 64 20 77 72 69 | 74 65 53 74 61 74 75 73 |.end wri|teStatus|
|000034a0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 44 65 63 44 65 |..functi|on DecDe|
|000034b0| 6d 6f 4d 65 73 73 61 67 | 65 20 44 65 6d 6f 4d 65 |moMessag|e DemoMe|
|000034c0| 73 73 61 67 65 2c 44 65 | 6d 6f 54 79 70 65 0d 69 |ssage,De|moType.i|
|000034d0| 66 20 44 65 6d 6f 4d 65 | 73 73 61 67 65 20 69 73 |f DemoMe|ssage is|
|000034e0| 20 22 3c 64 65 66 61 75 | 6c 74 3e 22 0d 74 68 65 | "<defau|lt>".the|
|000034f0| 6e 0d 69 66 20 44 65 6d | 6f 54 79 70 65 20 69 73 |n.if Dem|oType is|
|00003500| 20 22 46 6f 6c 64 65 72 | 22 0d 74 68 65 6e 20 72 | "Folder|".then r|
|00003510| 65 74 75 72 6e 28 22 54 | 68 69 73 20 64 65 6d 6f |eturn("T|his demo|
|00003520| 20 63 61 6e 20 6e 6f 74 | 20 62 65 20 6c 61 75 6e | can not| be laun|
|00003530| 63 68 65 64 20 66 72 6f | 6d 20 74 68 65 20 54 6f |ched fro|m the To|
|00003540| 6f 6c 73 20 41 64 76 69 | 73 6f 72 20 43 44 2e 22 |ols Advi|sor CD."|
|00003550| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00003560| 72 6e 20 26 20 c2 0d 22 | 43 6c 69 63 6b 20 6f 6e |rn & .."|Click on|
|00003570| 20 43 6f 70 79 20 74 6f | 20 68 61 76 65 20 74 68 | Copy to| have th|
|00003580| 65 20 64 65 6d 6f 20 63 | 6f 70 69 65 64 20 74 6f |e demo c|opied to|
|00003590| 20 61 20 68 61 72 64 20 | 64 69 73 6b 20 64 72 69 | a hard |disk dri|
|000035a0| 76 65 2e 20 20 54 68 65 | 6e 20 75 73 65 20 74 68 |ve. The|n use th|
|000035b0| 65 20 46 69 6e 64 65 72 | 20 74 6f 20 61 63 63 65 |e Finder| to acce|
|000035c0| 73 73 20 74 68 65 20 64 | 65 6d 6f 2e 22 20 26 20 |ss the d|emo." & |
|000035d0| 72 65 74 75 72 6e 20 20 | 26 20 72 65 74 75 72 6e |return |& return|
|000035e0| 20 26 20 c2 0d 22 46 6f | 72 20 69 6e 73 74 72 75 | & .."Fo|r instru|
|000035f0| 63 74 69 6f 6e 73 20 6f | 6e 20 68 6f 77 20 74 6f |ctions o|n how to|
|00003600| 20 6f 70 65 72 61 74 65 | 20 74 68 65 20 64 65 6d | operate| the dem|
|00003610| 6f 20 63 6c 69 63 6b 20 | 6f 6e 20 49 6e 73 74 72 |o click |on Instr|
|00003620| 75 63 74 69 6f 6e 73 2e | 22 29 0d 65 6c 73 65 20 |uctions.|").else |
|00003630| 69 66 20 44 65 6d 6f 54 | 79 70 65 20 69 73 20 22 |if DemoT|ype is "|
|00003640| 41 70 70 6c 69 63 61 74 | 69 6f 6e 22 20 6f 72 20 |Applicat|ion" or |
|00003650| 44 65 6d 6f 54 79 70 65 | 20 69 73 20 22 73 74 61 |DemoType| is "sta|
|00003660| 63 6b 22 0d 74 68 65 6e | 20 20 72 65 74 75 72 6e |ck".then| return|
|00003670| 28 22 43 6c 69 63 6b 20 | 74 68 65 20 44 65 6d 6f |("Click |the Demo|
|00003680| 20 62 75 74 74 6f 6e 20 | 74 6f 20 6c 61 75 6e 63 | button |to launc|
|00003690| 68 20 74 68 65 20 64 65 | 6d 6f 2e 22 20 26 20 72 |h the de|mo." & r|
|000036a0| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 26 |eturn & |return &|
|000036b0| 20 c2 0d 22 46 6f 72 20 | 69 6e 73 74 72 75 63 74 | .."For |instruct|
|000036c0| 69 6f 6e 73 20 6f 6e 20 | 68 6f 77 20 74 6f 20 6f |ions on |how to o|
|000036d0| 70 65 72 61 74 65 20 74 | 68 65 20 64 65 6d 6f 20 |perate t|he demo |
|000036e0| 63 6c 69 63 6b 20 6f 6e | 20 49 6e 73 74 72 75 63 |click on| Instruc|
|000036f0| 74 69 6f 6e 73 2e 22 29 | 0d 65 6c 73 65 20 72 65 |tions.")|.else re|
|00003700| 74 75 72 6e 28 22 44 65 | 6d 6f 20 4d 65 2e 22 29 |turn("De|mo Me.")|
|00003710| 0d 65 6c 73 65 0d 72 65 | 74 75 72 6e 28 44 65 6d |.else.re|turn(Dem|
|00003720| 6f 4d 65 73 73 61 67 65 | 29 0d 65 6e 64 20 69 66 |oMessage|).end if|
|00003730| 0d 65 6e 64 20 44 65 63 | 44 65 6d 6f 4d 65 73 73 |.end Dec|DemoMess|
|00003740| 61 67 65 0d 2d 2d 0d 0d | 2d 2d 20 a5 a5 20 54 6f |age.--..|-- .. To|
|00003750| 70 4c 65 76 65 6c 20 48 | 61 6e 64 6c 65 72 0d 0d |pLevel H|andler..|
|00003760| 6f 6e 20 44 65 6d 6f 48 | 61 6e 64 6c 65 72 20 62 |on DemoH|andler b|
|00003770| 74 6e 69 64 2c 44 65 6d | 6f 54 6f 6f 6c 2c 44 65 |tnid,Dem|oTool,De|
|00003780| 6d 6f 54 79 70 65 2c 44 | 65 6d 6f 46 69 6c 65 2c |moType,D|emoFile,|
|00003790| 44 65 6d 6f 4d 65 73 73 | 61 67 65 2c 44 65 6d 6f |DemoMess|age,Demo|
|000037a0| 46 69 6c 65 32 2c 49 6e | 73 74 46 69 6c 65 0d 67 |File2,In|stFile.g|
|000037b0| 6c 6f 62 61 6c 20 67 64 | 65 76 65 6c 6f 70 65 72 |lobal gd|eveloper|
|000037c0| 73 74 61 74 75 73 2c 67 | 49 6e 73 74 61 6c 6c 65 |status,g|Installe|
|000037d0| 72 53 74 61 74 75 73 0d | 69 66 20 67 64 65 76 65 |rStatus.|if gdeve|
|000037e0| 6c 6f 70 65 72 73 74 61 | 74 75 73 20 69 73 20 74 |lopersta|tus is t|
|000037f0| 72 75 65 0d 74 68 65 6e | 0d 69 66 20 74 68 65 20 |rue.then|.if the |
|00003800| 6f 70 74 69 6f 6e 4b 65 | 79 20 69 73 20 64 6f 77 |optionKe|y is dow|
|00003810| 6e 20 74 68 65 6e 20 43 | 68 61 6e 67 65 44 65 6d |n then C|hangeDem|
|00003820| 6f 20 62 74 6e 69 64 2c | 44 65 6d 6f 54 6f 6f 6c |o btnid,|DemoTool|
|00003830| 2c 44 65 6d 6f 4d 65 73 | 73 61 67 65 2c 49 6e 73 |,DemoMes|sage,Ins|
|00003840| 74 46 69 6c 65 0d 65 6c | 73 65 0d 69 66 20 74 68 |tFile.el|se.if th|
|00003850| 65 20 63 6f 6d 6d 61 6e | 64 4b 65 79 20 69 73 20 |e comman|dKey is |
|00003860| 64 6f 77 6e 20 6f 72 20 | 67 49 6e 73 74 61 6c 6c |down or |gInstall|
|00003870| 65 72 53 74 61 74 75 73 | 20 69 73 20 74 72 75 65 |erStatus| is true|
|00003880| 20 74 68 65 6e 20 49 6e | 73 74 61 6c 6c 44 65 6d | then In|stallDem|
|00003890| 6f 20 62 74 6e 69 64 2c | 44 65 6d 6f 54 6f 6f 6c |o btnid,|DemoTool|
|000038a0| 2c 49 6e 73 74 46 69 6c | 65 0d 65 6c 73 65 20 44 |,InstFil|e.else D|
|000038b0| 6f 44 65 6d 6f 20 44 65 | 6d 6f 54 79 70 65 2c 44 |oDemo De|moType,D|
|000038c0| 65 6d 6f 46 69 6c 65 2c | 20 44 65 6d 6f 4d 65 73 |emoFile,| DemoMes|
|000038d0| 73 61 67 65 2c 44 65 6d | 6f 46 69 6c 65 32 2c 49 |sage,Dem|oFile2,I|
|000038e0| 6e 73 74 46 69 6c 65 0d | 65 6e 64 20 69 66 0d 65 |nstFile.|end if.e|
|000038f0| 6c 73 65 0d 44 6f 44 65 | 6d 6f 20 44 65 6d 6f 54 |lse.DoDe|mo DemoT|
|00003900| 79 70 65 2c 44 65 6d 6f | 46 69 6c 65 2c 20 44 65 |ype,Demo|File, De|
|00003910| 6d 6f 4d 65 73 73 61 67 | 65 2c 44 65 6d 6f 46 69 |moMessag|e,DemoFi|
|00003920| 6c 65 32 2c 49 6e 73 74 | 46 69 6c 65 0d 65 6e 64 |le2,Inst|File.end|
|00003930| 20 69 66 0d 65 6e 64 20 | 44 65 6d 6f 48 61 6e 64 | if.end |DemoHand|
|00003940| 6c 65 72 0d 0d 0d 2d 2d | 20 a5 a5 20 44 6f 69 6e |ler...--| .. Doin|
|00003950| 67 20 74 68 65 20 44 65 | 6d 6f 0d 0d 4f 6e 20 44 |g the De|mo..On D|
|00003960| 6f 44 65 6d 6f 20 44 65 | 6d 6f 54 79 70 65 2c 44 |oDemo De|moType,D|
|00003970| 65 6d 6f 46 69 6c 65 2c | 44 65 6d 6f 4d 65 73 73 |emoFile,|DemoMess|
|00003980| 61 67 65 2c 44 65 6d 6f | 46 69 6c 65 32 2c 49 6e |age,Demo|File2,In|
|00003990| 73 74 46 69 6c 65 0d 2d | 2d 20 22 73 74 61 63 6b |stFile.-|- "stack|
|000039a0| 22 20 6d 65 61 6e 73 20 | 74 68 61 74 20 74 68 69 |" means |that thi|
|000039b0| 73 20 62 75 74 74 6f 6e | 20 6f 70 65 6e 73 20 61 |s button| opens a|
|000039c0| 20 73 74 61 63 6b 0d 2d | 2d 20 22 61 70 70 6c 69 | stack.-|- "appli|
|000039d0| 63 61 74 69 6f 6e 22 20 | 6d 65 61 6e 73 20 74 68 |cation" |means th|
|000039e0| 61 74 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |at an ap|plicatio|
|000039f0| 6e 20 77 69 6c 6c 20 62 | 65 20 6c 61 75 6e 63 68 |n will b|e launch|
|00003a00| 65 64 0d 2d 2d 20 22 46 | 6f 6c 64 65 72 22 20 6d |ed.-- "F|older" m|
|00003a10| 65 61 6e 73 20 74 68 61 | 74 20 74 68 65 20 64 65 |eans tha|t the de|
|00003a20| 6d 6f 20 66 6f 6c 64 65 | 72 20 77 69 6c 6c 20 62 |mo folde|r will b|
|00003a30| 65 20 63 6f 70 69 65 64 | 20 65 6c 73 65 77 68 65 |e copied| elsewhe|
|00003a40| 72 65 0d 2d 2d 20 44 65 | 6d 6f 46 69 6c 65 20 69 |re.-- De|moFile i|
|00003a50| 73 20 74 68 65 20 66 69 | 6c 65 20 74 68 61 74 20 |s the fi|le that |
|00003a60| 77 69 6c 6c 20 62 65 20 | 6c 61 75 6e 63 68 65 64 |will be |launched|
|00003a70| 20 6f 72 20 74 68 65 20 | 73 74 61 63 6b 20 74 68 | or the |stack th|
|00003a80| 61 74 20 77 69 6c 6c 20 | 62 65 20 6f 70 65 6e 6e |at will |be openn|
|00003a90| 65 64 0d 2d 2d 20 6f 72 | 20 74 68 65 20 46 6f 6c |ed.-- or| the Fol|
|00003aa0| 64 65 72 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |der that| will be|
|00003ab0| 20 63 6f 70 69 65 64 0d | 2d 2d 20 44 65 6d 6f 4d | copied.|-- DemoM|
|00003ac0| 65 73 73 61 67 65 20 69 | 73 20 74 68 65 20 6d 65 |essage i|s the me|
|00003ad0| 73 73 61 67 65 20 74 68 | 61 74 20 74 68 65 20 75 |ssage th|at the u|
|00003ae0| 73 65 72 20 77 69 6c 6c | 20 73 65 65 0d 2d 2d 20 |ser will| see.-- |
|00003af0| 49 6e 73 74 46 69 6c 65 | 20 69 73 20 74 68 65 20 |InstFile| is the |
|00003b00| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 66 69 6c |Instruct|ions fil|
|00003b10| 65 20 74 68 61 74 20 4d | 61 63 57 72 69 74 65 20 |e that M|acWrite |
|00003b20| 73 68 6f 75 6c 64 20 6f | 70 65 6e 2e 0d 0d 70 75 |should o|pen...pu|
|00003b30| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 43 68 65 63 |t true i|nto Chec|
|00003b40| 6b 43 6f 6e 64 69 74 69 | 6f 6e 73 0d 70 75 74 20 |kConditi|ons.put |
|00003b50| 44 65 63 4c 6f 67 46 69 | 6c 65 28 44 65 6d 6f 46 |DecLogFi|le(DemoF|
|00003b60| 69 6c 65 29 20 69 6e 74 | 6f 20 41 63 74 46 69 6c |ile) int|o ActFil|
|00003b70| 65 0d 0d 70 75 74 20 44 | 65 63 44 65 6d 6f 4d 65 |e..put D|ecDemoMe|
|00003b80| 73 73 61 67 65 28 44 65 | 6d 6f 4d 65 73 73 61 67 |ssage(De|moMessag|
|00003b90| 65 2c 44 65 6d 6f 54 79 | 70 65 29 20 69 6e 74 6f |e,DemoTy|pe) into|
|00003ba0| 20 44 65 6d 6f 4d 65 73 | 73 61 67 65 0d 0d 2d 2d | DemoMes|sage..--|
|00003bb0| 20 69 66 20 22 4d 54 20 | 50 6c 61 79 65 72 22 20 | if "MT |Player" |
|00003bc0| 69 73 20 69 6e 20 44 65 | 6d 6f 46 69 6c 65 20 74 |is in De|moFile t|
|00003bd0| 68 65 6e 20 70 75 74 20 | 22 4d 54 22 20 69 6e 74 |hen put |"MT" int|
|00003be0| 6f 20 44 65 6d 6f 54 79 | 70 65 0d 0d 0d 69 66 20 |o DemoTy|pe...if |
|00003bf0| 44 65 6d 6f 54 79 70 65 | 20 69 73 20 22 46 6f 6c |DemoType| is "Fol|
|00003c00| 64 65 72 22 20 74 68 65 | 6e 0d 69 66 20 44 65 6d |der" the|n.if Dem|
|00003c10| 6f 4d 65 73 73 61 67 65 | 20 69 73 20 65 6d 70 74 |oMessage| is empt|
|00003c20| 79 20 74 68 65 6e 20 46 | 75 6c 6c 43 6f 70 79 46 |y then F|ullCopyF|
|00003c30| 6f 6c 64 65 72 28 41 63 | 74 46 69 6c 65 29 0d 65 |older(Ac|tFile).e|
|00003c40| 6c 73 65 0d 69 66 20 49 | 6e 73 74 46 69 6c 65 20 |lse.if I|nstFile |
|00003c50| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 61 6e |is empty| then an|
|00003c60| 73 77 65 72 20 44 65 6d | 6f 4d 65 73 73 61 67 65 |swer Dem|oMessage|
|00003c70| 20 77 69 74 68 20 43 61 | 6e 63 65 6c 20 6f 72 20 | with Ca|ncel or |
|00003c80| 43 6f 70 79 0d 65 6c 73 | 65 20 61 6e 73 77 65 72 |Copy.els|e answer|
|00003c90| 20 44 65 6d 6f 4d 65 73 | 73 61 67 65 20 77 69 74 | DemoMes|sage wit|
|00003ca0| 68 20 43 61 6e 63 65 6c | 20 6f 72 20 49 6e 73 74 |h Cancel| or Inst|
|00003cb0| 72 75 63 74 69 6f 6e 73 | 20 6f 72 20 43 6f 70 79 |ructions| or Copy|
|00003cc0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 68 69 |.put it |into thi|
|00003cd0| 6e 67 54 6f 44 6f 0d 69 | 66 20 74 68 69 6e 67 54 |ngToDo.i|f thingT|
|00003ce0| 6f 44 6f 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 |oDo is "|Cancel" |
|00003cf0| 74 68 65 6e 20 65 78 69 | 74 20 44 6f 44 65 6d 6f |then exi|t DoDemo|
|00003d00| 0d 65 6c 73 65 20 69 66 | 20 74 68 69 6e 67 54 6f |.else if| thingTo|
|00003d10| 44 6f 20 69 73 20 22 43 | 6f 70 79 22 20 74 68 65 |Do is "C|opy" the|
|00003d20| 6e 20 46 75 6c 6c 43 6f | 70 79 46 6f 6c 64 65 72 |n FullCo|pyFolder|
|00003d30| 28 41 63 74 46 69 6c 65 | 29 0d 65 6c 73 65 20 69 |(ActFile|).else i|
|00003d40| 66 20 74 68 69 6e 67 54 | 6f 44 6f 20 69 73 20 22 |f thingT|oDo is "|
|00003d50| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 22 20 74 68 |Instruct|ions" th|
|00003d60| 65 6e 20 53 68 6f 77 49 | 6e 73 74 72 75 63 74 69 |en ShowI|nstructi|
|00003d70| 6f 6e 73 20 49 6e 73 74 | 46 69 6c 65 0d 65 6e 64 |ons Inst|File.end|
|00003d80| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 44 | if.end |if..if D|
|00003d90| 65 6d 6f 54 79 70 65 20 | 69 73 20 22 73 74 61 63 |emoType |is "stac|
|00003da0| 6b 22 20 74 68 65 6e 0d | 69 66 20 44 65 6d 6f 4d |k" then.|if DemoM|
|00003db0| 65 73 73 61 67 65 20 69 | 73 20 65 6d 70 74 79 20 |essage i|s empty |
|00003dc0| 74 68 65 6e 20 67 6f 20 | 74 6f 20 73 74 61 63 6b |then go |to stack|
|00003dd0| 20 41 63 74 46 69 6c 65 | 20 69 6e 20 61 20 6e 65 | ActFile| in a ne|
|00003de0| 77 20 77 69 6e 64 6f 77 | 0d 65 6c 73 65 0d 69 66 |w window|.else.if|
|00003df0| 20 49 6e 73 74 46 69 6c | 65 20 69 73 20 65 6d 70 | InstFil|e is emp|
|00003e00| 74 79 20 74 68 65 6e 20 | 61 6e 73 77 65 72 20 44 |ty then |answer D|
|00003e10| 65 6d 6f 4d 65 73 73 61 | 67 65 20 77 69 74 68 20 |emoMessa|ge with |
|00003e20| 43 61 6e 63 65 6c 20 6f | 72 20 44 65 6d 6f 0d 65 |Cancel o|r Demo.e|
|00003e30| 6c 73 65 20 61 6e 73 77 | 65 72 20 44 65 6d 6f 4d |lse answ|er DemoM|
|00003e40| 65 73 73 61 67 65 20 77 | 69 74 68 20 43 61 6e 63 |essage w|ith Canc|
|00003e50| 65 6c 20 6f 72 20 49 6e | 73 74 72 75 63 74 69 6f |el or In|structio|
|00003e60| 6e 73 20 6f 72 20 44 65 | 6d 6f 0d 70 75 74 20 69 |ns or De|mo.put i|
|00003e70| 74 20 69 6e 74 6f 20 74 | 68 69 6e 67 54 6f 44 6f |t into t|hingToDo|
|00003e80| 0d 69 66 20 74 68 69 6e | 67 54 6f 44 6f 20 69 73 |.if thin|gToDo is|
|00003e90| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 65 | "Cancel|" then e|
|00003ea0| 78 69 74 20 44 6f 44 65 | 6d 6f 0d 65 6c 73 65 20 |xit DoDe|mo.else |
|00003eb0| 69 66 20 74 68 69 6e 67 | 54 6f 44 6f 20 69 73 20 |if thing|ToDo is |
|00003ec0| 22 44 65 6d 6f 22 20 74 | 68 65 6e 20 20 67 6f 20 |"Demo" t|hen go |
|00003ed0| 74 6f 20 73 74 61 63 6b | 20 41 63 74 46 69 6c 65 |to stack| ActFile|
|00003ee0| 20 69 6e 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 | in a ne|w window|
|00003ef0| 0d 65 6c 73 65 20 69 66 | 20 74 68 69 6e 67 54 6f |.else if| thingTo|
|00003f00| 44 6f 20 69 73 20 22 49 | 6e 73 74 72 75 63 74 69 |Do is "I|nstructi|
|00003f10| 6f 6e 73 22 20 74 68 65 | 6e 20 53 68 6f 77 49 6e |ons" the|n ShowIn|
|00003f20| 73 74 72 75 63 74 69 6f | 6e 73 20 49 6e 73 74 46 |structio|ns InstF|
|00003f30| 69 6c 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ile.end |if.end i|
|00003f40| 66 0d 0d 69 66 20 44 65 | 6d 6f 54 79 70 65 20 69 |f..if De|moType i|
|00003f50| 73 20 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 22 20 |s "Appli|cation" |
|00003f60| 74 68 65 6e 0d 0d 70 75 | 74 20 41 63 74 46 69 6c |then..pu|t ActFil|
|00003f70| 65 20 69 6e 74 6f 20 74 | 68 65 41 70 70 6c 69 63 |e into t|heApplic|
|00003f80| 61 74 69 6f 6e 0d 70 75 | 74 20 44 65 63 4c 6f 67 |ation.pu|t DecLog|
|00003f90| 46 69 6c 65 28 44 65 6d | 6f 46 69 6c 65 32 29 20 |File(Dem|oFile2) |
|00003fa0| 69 6e 74 6f 20 46 69 6c | 65 54 6f 4f 70 65 6e 0d |into Fil|eToOpen.|
|00003fb0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003fc0| 73 75 63 63 65 73 73 4c | 61 75 6e 63 68 20 20 2d |successL|aunch -|
|00003fd0| 2d 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |- this v|ariable |
|00003fe0| 77 69 6c 6c 20 63 6f 6e | 74 61 69 6e 20 74 68 65 |will con|tain the|
|00003ff0| 20 72 65 73 75 6c 74 73 | 20 6f 66 20 74 68 65 20 | results| of the |
|00004000| 6c 61 75 6e 63 68 0d 2d | 2d 20 2a 2a 20 77 68 65 |launch.-|- ** whe|
|00004010| 20 73 68 6f 75 6c 64 20 | 69 6d 70 6c 65 6d 65 6e | should |implemen|
|00004020| 74 20 74 68 69 73 20 73 | 75 63 63 65 73 73 4c 61 |t this s|uccessLa|
|00004030| 75 6e 63 68 20 74 65 73 | 74 69 6e 67 20 66 6f 72 |unch tes|ting for|
|00004040| 20 61 6c 6c 20 74 68 65 | 20 61 62 6f 76 65 20 74 | all the| above t|
|00004050| 6f 6f 2e 2e 2e 0d 0d 69 | 66 20 44 65 6d 6f 4d 65 |oo.....i|f DemoMe|
|00004060| 73 73 61 67 65 20 69 73 | 20 65 6d 70 74 79 20 74 |ssage is| empty t|
|00004070| 68 65 6e 20 70 75 74 20 | 54 41 4c 61 75 6e 63 68 |hen put |TALaunch|
|00004080| 28 74 68 65 41 70 70 6c | 69 63 61 74 69 6f 6e 2c |(theAppl|ication,|
|00004090| 46 69 6c 65 54 6f 4f 70 | 65 6e 2c 43 68 65 63 6b |FileToOp|en,Check|
|000040a0| 43 6f 6e 64 69 74 69 6f | 6e 73 29 20 69 6e 74 6f |Conditio|ns) into|
|000040b0| 20 73 75 63 63 65 73 73 | 4c 61 75 6e 63 68 0d 65 | success|Launch.e|
|000040c0| 6c 73 65 0d 69 66 20 49 | 6e 73 74 46 69 6c 65 20 |lse.if I|nstFile |
|000040d0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 61 6e |is empty| then an|
|000040e0| 73 77 65 72 20 44 65 6d | 6f 4d 65 73 73 61 67 65 |swer Dem|oMessage|
|000040f0| 20 77 69 74 68 20 43 61 | 6e 63 65 6c 20 6f 72 20 | with Ca|ncel or |
|00004100| 44 65 6d 6f 0d 65 6c 73 | 65 20 61 6e 73 77 65 72 |Demo.els|e answer|
|00004110| 20 44 65 6d 6f 4d 65 73 | 73 61 67 65 20 77 69 74 | DemoMes|sage wit|
|00004120| 68 20 43 61 6e 63 65 6c | 20 6f 72 20 49 6e 73 74 |h Cancel| or Inst|
|00004130| 72 75 63 74 69 6f 6e 73 | 20 6f 72 20 44 65 6d 6f |ructions| or Demo|
|00004140| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 68 69 |.put it |into thi|
|00004150| 6e 67 54 6f 44 6f 0d 0d | 69 66 20 74 68 69 6e 67 |ngToDo..|if thing|
|00004160| 54 6f 44 6f 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |ToDo is |"Cancel"|
|00004170| 20 74 68 65 6e 20 65 78 | 69 74 20 44 6f 44 65 6d | then ex|it DoDem|
|00004180| 6f 0d 65 6c 73 65 20 69 | 66 20 74 68 69 6e 67 54 |o.else i|f thingT|
|00004190| 6f 44 6f 20 69 73 20 22 | 44 65 6d 6f 22 20 74 68 |oDo is "|Demo" th|
|000041a0| 65 6e 20 70 75 74 20 54 | 41 4c 61 75 6e 63 68 28 |en put T|ALaunch(|
|000041b0| 74 68 65 41 70 70 6c 69 | 63 61 74 69 6f 6e 2c 46 |theAppli|cation,F|
|000041c0| 69 6c 65 54 6f 4f 70 65 | 6e 2c 43 68 65 63 6b 43 |ileToOpe|n,CheckC|
|000041d0| 6f 6e 64 69 74 69 6f 6e | 73 29 20 69 6e 74 6f 20 |ondition|s) into |
|000041e0| 73 75 63 63 65 73 73 4c | 61 75 6e 63 68 0d 65 6c |successL|aunch.el|
|000041f0| 73 65 20 69 66 20 74 68 | 69 6e 67 54 6f 44 6f 20 |se if th|ingToDo |
|00004200| 69 73 20 22 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |is "Inst|ructions|
|00004210| 22 20 74 68 65 6e 20 53 | 68 6f 77 49 6e 73 74 72 |" then S|howInstr|
|00004220| 75 63 74 69 6f 6e 73 20 | 49 6e 73 74 46 69 6c 65 |uctions |InstFile|
|00004230| 0d 65 6e 64 20 69 66 0d | 69 66 20 73 75 63 63 65 |.end if.|if succe|
|00004240| 73 73 4c 61 75 6e 63 68 | 20 ad 20 65 6d 70 74 79 |ssLaunch| . empty|
|00004250| 20 61 6e 64 20 73 75 63 | 63 65 73 73 4c 61 75 6e | and suc|cessLaun|
|00004260| 63 68 20 ad 20 63 61 6e | 63 65 6c 0d 74 68 65 6e |ch . can|cel.then|
|00004270| 0d 62 65 65 70 0d 69 66 | 20 73 75 63 63 65 73 73 |.beep.if| success|
|00004280| 4c 61 75 6e 63 68 20 69 | 73 20 6e 6f 74 20 46 41 |Launch i|s not FA|
|00004290| 4c 53 45 20 2d 2d 20 77 | 68 65 6e 20 4f 4b 54 6f |LSE -- w|hen OKTo|
|000042a0| 4c 61 75 6e 63 68 20 73 | 61 79 73 20 6e 6f 74 20 |Launch s|ays not |
|000042b0| 4f 4b 0d 74 68 65 6e 20 | 61 6e 73 77 65 72 20 22 |OK.then |answer "|
|000042c0| 53 6f 72 72 79 3a 20 22 | 20 26 20 73 75 63 63 65 |Sorry: "| & succe|
|000042d0| 73 73 4c 61 75 6e 63 68 | 20 26 20 72 65 74 75 72 |ssLaunch| & retur|
|000042e0| 6e 20 26 20 c2 0d 22 4d | 61 79 20 62 65 20 73 68 |n & .."M|ay be sh|
|000042f0| 6f 72 74 20 6f 6e 20 6d | 65 6d 6f 72 79 2e 22 20 |ort on m|emory." |
|00004300| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00004310| 6e 20 26 20 c2 0d 22 54 | 72 79 20 71 75 69 74 74 |n & .."T|ry quitt|
|00004320| 69 6e 67 20 6f 74 68 65 | 72 20 61 70 70 6c 69 63 |ing othe|r applic|
|00004330| 61 74 69 6f 6e 73 20 6f | 72 20 6c 61 75 6e 63 68 |ations o|r launch|
|00004340| 69 6e 67 20 64 69 72 65 | 63 74 6c 79 20 66 72 6f |ing dire|ctly fro|
|00004350| 6d 20 74 68 65 20 46 69 | 6e 64 65 72 2e 22 0d 65 |m the Fi|nder.".e|
|00004360| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 0d 69 66 |nd if.en|d if..if|
|00004370| 20 64 65 6d 6f 54 79 70 | 65 20 69 73 20 22 51 54 | demoTyp|e is "QT|
|00004380| 22 20 74 68 65 6e 20 2d | 2d 20 51 75 69 63 6b 54 |" then -|- QuickT|
|00004390| 69 6d 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ime.set |cursor t|
|000043a0| 6f 20 77 61 74 63 68 0d | 70 75 74 20 64 65 6d 6f |o watch.|put demo|
|000043b0| 46 69 6c 65 32 20 69 6e | 74 6f 20 54 68 65 4d 6f |File2 in|to TheMo|
|000043c0| 76 69 65 4e 61 6d 65 20 | 2d 2d c6 0d 2d 2d 0d 69 |vieName |--..--.i|
|000043d0| 66 20 54 68 65 4d 6f 76 | 69 65 4e 61 6d 65 20 69 |f TheMov|ieName i|
|000043e0| 73 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 73 |s in the| windows|
|000043f0| 20 74 68 65 6e 0d 2d 2d | 20 54 68 65 20 6d 6f 76 | then.--| The mov|
|00004400| 69 65 20 77 69 6e 64 6f | 77 20 69 73 20 6f 70 65 |ie windo|w is ope|
|00004410| 6e 20 61 6e 64 20 74 68 | 69 73 20 73 63 72 69 70 |n and th|is scrip|
|00004420| 74 20 77 69 6c 6c 20 63 | 6c 6f 73 65 20 69 74 0d |t will c|lose it.|
|00004430| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 54 68 65 |close wi|ndow The|
|00004440| 4d 6f 76 69 65 4e 61 6d | 65 0d 65 6c 73 65 0d 4d |MovieNam|e.else.M|
|00004450| 6f 76 69 65 20 54 68 65 | 4d 6f 76 69 65 4e 61 6d |ovie The|MovieNam|
|00004460| 65 2c 22 57 69 6e 64 6f | 69 64 22 2c 22 43 61 72 |e,"Windo|id","Car|
|00004470| 64 22 2c 22 69 6e 76 69 | 73 69 62 6c 65 22 2c 22 |d","invi|sible","|
|00004480| 46 6c 6f 61 74 69 6e 67 | 22 0d 70 75 74 20 74 68 |Floating|".put th|
|00004490| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 54 68 |e result| into Th|
|000044a0| 65 52 65 73 75 6c 74 0d | 69 66 20 22 45 72 72 6f |eResult.|if "Erro|
|000044b0| 72 22 20 69 73 20 69 6e | 20 54 68 65 52 65 73 75 |r" is in| TheResu|
|000044c0| 6c 74 20 74 68 65 6e 20 | 2d 2d 20 53 6f 6d 65 74 |lt then |-- Somet|
|000044d0| 68 69 6e 67 20 77 65 6e | 74 20 77 72 6f 6e 67 0d |hing wen|t wrong.|
|000044e0| 61 6e 73 77 65 72 20 54 | 68 65 52 65 73 75 6c 74 |answer T|heResult|
|000044f0| 0d 65 78 69 74 20 74 6f | 20 48 79 70 65 72 43 61 |.exit to| HyperCa|
|00004500| 72 64 0d 65 6e 64 20 69 | 66 0d 2d 2d 0d 69 66 20 |rd.end i|f.--.if |
|00004510| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00004520| 77 20 54 68 65 4d 6f 76 | 69 65 4e 61 6d 65 20 74 |w TheMov|ieName t|
|00004530| 68 65 6e 0d 73 65 6e 64 | 20 70 72 65 52 6f 6c 6c |hen.send| preRoll|
|00004540| 20 74 6f 20 77 69 6e 64 | 6f 77 20 74 68 65 4d 6f | to wind|ow theMo|
|00004550| 76 69 65 4e 61 6d 65 0d | 73 65 74 20 74 68 65 20 |vieName.|set the |
|00004560| 61 75 64 69 6f 4c 65 76 | 65 6c 20 6f 66 20 77 69 |audioLev|el of wi|
|00004570| 6e 64 6f 77 20 54 68 65 | 4d 6f 76 69 65 4e 61 6d |ndow The|MovieNam|
|00004580| 65 20 74 6f 20 22 32 35 | 36 22 0d 73 65 74 20 74 |e to "25|6".set t|
|00004590| 68 65 20 6d 75 74 65 20 | 6f 66 20 77 69 6e 64 6f |he mute |of windo|
|000045a0| 77 20 54 68 65 4d 6f 76 | 69 65 4e 61 6d 65 20 74 |w TheMov|ieName t|
|000045b0| 6f 20 66 61 6c 73 65 0d | 73 65 74 20 74 68 65 20 |o false.|set the |
|000045c0| 62 61 64 67 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |badge of| window |
|000045d0| 54 68 65 4d 6f 76 69 65 | 4e 61 6d 65 20 74 6f 20 |TheMovie|Name to |
|000045e0| 74 72 75 65 0d 73 65 74 | 20 74 68 65 20 63 6f 6e |true.set| the con|
|000045f0| 74 72 6f 6c 6c 65 72 56 | 69 73 69 62 6c 65 20 6f |trollerV|isible o|
|00004600| 66 20 77 69 6e 64 6f 77 | 20 54 68 65 4d 6f 76 69 |f window| TheMovi|
|00004610| 65 4e 61 6d 65 20 74 6f | 20 74 72 75 65 0d 73 65 |eName to| true.se|
|00004620| 74 20 74 68 65 20 63 6c | 6f 73 65 4f 6e 46 69 6e |t the cl|oseOnFin|
|00004630| 69 73 68 20 6f 66 20 77 | 69 6e 64 6f 77 20 54 68 |ish of w|indow Th|
|00004640| 65 4d 6f 76 69 65 4e 61 | 6d 65 20 74 6f 20 74 72 |eMovieNa|me to tr|
|00004650| 75 65 0d 73 65 74 20 74 | 68 65 20 6c 6f 6f 70 20 |ue.set t|he loop |
|00004660| 6f 66 20 77 69 6e 64 6f | 77 20 54 68 65 4d 6f 76 |of windo|w TheMov|
|00004670| 69 65 4e 61 6d 65 20 74 | 6f 20 66 61 6c 73 65 0d |ieName t|o false.|
|00004680| 73 65 74 20 74 68 65 20 | 73 65 65 41 6c 6c 46 72 |set the |seeAllFr|
|00004690| 61 6d 65 73 20 6f 66 20 | 77 69 6e 64 6f 77 20 54 |ames of |window T|
|000046a0| 68 65 4d 6f 76 69 65 4e | 61 6d 65 20 74 6f 20 66 |heMovieN|ame to f|
|000046b0| 61 6c 73 65 0d 73 65 74 | 20 74 68 65 20 73 74 61 |alse.set| the sta|
|000046c0| 72 74 54 69 6d 65 20 6f | 66 20 77 69 6e 64 6f 77 |rtTime o|f window|
|000046d0| 20 54 68 65 4d 6f 76 69 | 65 4e 61 6d 65 20 74 6f | TheMovi|eName to|
|000046e0| 20 22 30 22 0d 2d 2d 20 | 73 65 74 20 74 68 65 20 | "0".-- |set the |
|000046f0| 65 6e 64 54 69 6d 65 20 | 6f 66 20 77 69 6e 64 6f |endTime |of windo|
|00004700| 77 20 54 68 65 4d 6f 76 | 69 65 4e 61 6d 65 20 74 |w TheMov|ieName t|
|00004710| 6f 20 22 36 2c 31 33 22 | 0d 73 65 74 20 74 68 65 |o "6,13"|.set the|
|00004720| 20 72 61 74 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 | rate of| window |
|00004730| 54 68 65 4d 6f 76 69 65 | 4e 61 6d 65 20 74 6f 20 |TheMovie|Name to |
|00004740| 22 31 22 0d 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |"1".show| window |
|00004750| 54 68 65 4d 6f 76 69 65 | 4e 61 6d 65 0d 65 6e 64 |TheMovie|Name.end|
|00004760| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 65 6e 64 20 | if.end |if..end |
|00004770| 69 66 0d 0d 69 66 20 44 | 65 6d 6f 54 79 70 65 20 |if..if D|emoType |
|00004780| 69 73 20 22 4d 54 22 20 | 74 68 65 6e 0d 69 66 20 |is "MT" |then.if |
|00004790| 44 65 6d 6f 4d 65 73 73 | 61 67 65 20 69 73 20 65 |DemoMess|age is e|
|000047a0| 6d 70 74 79 20 74 68 65 | 6e 20 4d 54 50 6c 61 79 |mpty the|n MTPlay|
|000047b0| 20 44 65 63 4c 6f 67 46 | 69 6c 65 28 44 65 6d 6f | DecLogF|ile(Demo|
|000047c0| 46 69 6c 65 32 29 2c 22 | 68 69 64 65 22 0d 65 6c |File2),"|hide".el|
|000047d0| 73 65 0d 69 66 20 49 6e | 73 74 46 69 6c 65 20 69 |se.if In|stFile i|
|000047e0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 61 6e 73 |s empty |then ans|
|000047f0| 77 65 72 20 44 65 6d 6f | 4d 65 73 73 61 67 65 20 |wer Demo|Message |
|00004800| 77 69 74 68 20 43 61 6e | 63 65 6c 20 6f 72 20 44 |with Can|cel or D|
|00004810| 65 6d 6f 0d 65 6c 73 65 | 20 61 6e 73 77 65 72 20 |emo.else| answer |
|00004820| 44 65 6d 6f 4d 65 73 73 | 61 67 65 20 77 69 74 68 |DemoMess|age with|
|00004830| 20 43 61 6e 63 65 6c 20 | 6f 72 20 49 6e 73 74 72 | Cancel |or Instr|
|00004840| 75 63 74 69 6f 6e 73 20 | 6f 72 20 44 65 6d 6f 0d |uctions |or Demo.|
|00004850| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 69 6e |put it i|nto thin|
|00004860| 67 54 6f 44 6f 0d 69 66 | 20 74 68 69 6e 67 54 6f |gToDo.if| thingTo|
|00004870| 44 6f 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |Do is "C|ancel" t|
|00004880| 68 65 6e 20 65 78 69 74 | 20 44 6f 44 65 6d 6f 0d |hen exit| DoDemo.|
|00004890| 65 6c 73 65 20 69 66 20 | 74 68 69 6e 67 54 6f 44 |else if |thingToD|
|000048a0| 6f 20 69 73 20 22 44 65 | 6d 6f 22 20 74 68 65 6e |o is "De|mo" then|
|000048b0| 20 20 4d 54 50 6c 61 79 | 20 44 65 63 4c 6f 67 46 | MTPlay| DecLogF|
|000048c0| 69 6c 65 28 44 65 6d 6f | 46 69 6c 65 32 29 2c 22 |ile(Demo|File2),"|
|000048d0| 68 69 64 65 22 0d 65 6c | 73 65 20 69 66 20 74 68 |hide".el|se if th|
|000048e0| 69 6e 67 54 6f 44 6f 20 | 69 73 20 22 49 6e 73 74 |ingToDo |is "Inst|
|000048f0| 72 75 63 74 69 6f 6e 73 | 22 20 74 68 65 6e 20 53 |ructions|" then S|
|00004900| 68 6f 77 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |howInstr|uctions |
|00004910| 49 6e 73 74 46 69 6c 65 | 0d 65 6e 64 20 69 66 0d |InstFile|.end if.|
|00004920| 65 6e 64 20 69 66 0d 0d | 65 6e 64 20 44 6f 44 65 |end if..|end DoDe|
|00004930| 6d 6f 0d 0d 0d 2d 2d 20 | a5 a5 20 53 65 74 74 69 |mo...-- |.. Setti|
|00004940| 6e 67 20 75 70 20 74 68 | 65 20 44 65 6d 6f 0d 0d |ng up th|e Demo..|
|00004950| 6f 6e 20 63 6f 6e 74 72 | 6f 6c 4b 65 79 20 77 68 |on contr|olKey wh|
|00004960| 69 63 68 4b 65 79 0d 2d | 2d 20 63 74 72 6c 2d 64 |ichKey.-|- ctrl-d|
|00004970| 20 70 75 74 73 20 79 6f | 75 20 69 6e 20 64 65 76 | puts yo|u in dev|
|00004980| 65 6c 6f 70 65 72 20 6d | 6f 64 65 0d 2d 2d 20 63 |eloper m|ode.-- c|
|00004990| 74 72 6c 2d 65 20 70 75 | 74 73 20 79 6f 75 20 69 |trl-e pu|ts you i|
|000049a0| 6e 20 75 73 65 72 20 6d | 6f 64 65 0d 67 6c 6f 62 |n user m|ode.glob|
|000049b0| 61 6c 20 67 64 65 76 65 | 6c 6f 70 65 72 73 74 61 |al gdeve|lopersta|
|000049c0| 74 75 73 0d 69 66 20 77 | 68 69 63 68 4b 65 79 20 |tus.if w|hichKey |
|000049d0| 69 73 20 34 20 74 68 65 | 6e 0d 70 75 74 20 74 72 |is 4 the|n.put tr|
|000049e0| 75 65 20 69 6e 74 6f 20 | 67 64 65 76 65 6c 6f 70 |ue into |gdevelop|
|000049f0| 65 72 73 74 61 74 75 73 | 0d 65 6c 73 65 20 69 66 |erstatus|.else if|
|00004a00| 20 77 68 69 63 68 4b 65 | 79 20 69 73 20 35 20 74 | whichKe|y is 5 t|
|00004a10| 68 65 6e 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |hen.put |false in|
|00004a20| 74 6f 20 67 64 65 76 65 | 6c 6f 70 65 72 73 74 61 |to gdeve|lopersta|
|00004a30| 74 75 73 0d 65 6c 73 65 | 20 70 61 73 73 20 63 6f |tus.else| pass co|
|00004a40| 6e 74 72 6f 6c 4b 65 79 | 0d 65 6e 64 20 63 6f 6e |ntrolKey|.end con|
|00004a50| 74 72 6f 6c 4b 65 79 0d | 0d 6f 6e 20 43 68 61 6e |trolKey.|.on Chan|
|00004a60| 67 65 44 65 6d 6f 20 62 | 74 6e 69 64 2c 44 65 6d |geDemo b|tnid,Dem|
|00004a70| 6f 54 6f 6f 6c 2c 44 65 | 6d 6f 4d 65 73 73 61 67 |oTool,De|moMessag|
|00004a80| 65 0d 61 6e 73 77 65 72 | 20 22 57 68 61 74 20 77 |e.answer| "What w|
|00004a90| 6f 75 6c 64 20 79 6f 75 | 20 6c 69 6b 65 20 74 6f |ould you| like to|
|00004aa0| 20 6c 69 6e 6b 20 74 68 | 69 73 20 62 75 74 74 6f | link th|is butto|
|00004ab0| 6e 20 74 6f 3a 22 20 77 | 69 74 68 20 46 6f 6c 64 |n to:" w|ith Fold|
|00004ac0| 65 72 20 6f 72 20 41 70 | 70 6c 69 63 61 74 69 6f |er or Ap|plicatio|
|00004ad0| 6e 20 6f 72 20 53 74 61 | 63 6b 0d 70 75 74 20 69 |n or Sta|ck.put i|
|00004ae0| 74 20 69 6e 74 6f 20 44 | 65 6d 6f 54 79 70 65 0d |t into D|emoType.|
|00004af0| 0d 70 75 74 20 22 57 68 | 69 63 68 20 22 20 26 20 |.put "Wh|ich " & |
|00004b00| 44 65 6d 6f 54 79 70 65 | 20 26 20 22 20 73 68 6f |DemoType| & " sho|
|00004b10| 75 6c 64 20 69 20 68 6f | 6f 6b 20 74 68 69 73 20 |uld i ho|ok this |
|00004b20| 75 70 20 74 6f 3f 22 20 | 69 6e 74 6f 20 70 72 6f |up to?" |into pro|
|00004b30| 6d 70 74 0d 69 66 20 44 | 65 6d 6f 54 79 70 65 20 |mpt.if D|emoType |
|00004b40| 69 73 20 22 46 6f 6c 64 | 65 72 22 0d 74 68 65 6e |is "Fold|er".then|
|00004b50| 20 67 65 74 20 66 6f 6c | 64 65 72 4e 61 6d 65 28 | get fol|derName(|
|00004b60| 22 53 65 6c 65 63 74 20 | 46 6f 6c 64 65 72 20 74 |"Select |Folder t|
|00004b70| 6f 20 62 65 20 63 6f 70 | 69 65 64 20 62 79 20 75 |o be cop|ied by u|
|00004b80| 73 65 72 3a 22 29 0d 65 | 6c 73 65 20 61 6e 73 77 |ser:").e|lse answ|
|00004b90| 65 72 20 66 69 6c 65 20 | 70 72 6f 6d 70 74 20 6f |er file |prompt o|
|00004ba0| 66 20 74 79 70 65 20 44 | 65 6d 6f 54 79 70 65 0d |f type D|emoType.|
|00004bb0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00004bc0| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00004bd0| 65 78 69 74 20 43 68 61 | 6e 67 65 44 65 6d 6f 0d |exit Cha|ngeDemo.|
|00004be0| 0d 70 75 74 20 45 6e 63 | 4c 6f 67 46 69 6c 65 28 |.put Enc|LogFile(|
|00004bf0| 69 74 29 20 69 6e 74 6f | 20 44 65 6d 6f 46 69 6c |it) into| DemoFil|
|00004c00| 65 0d 2d 2d 20 69 66 20 | 22 4d 54 20 50 6c 61 79 |e.-- if |"MT Play|
|00004c10| 22 20 69 73 20 69 6e 20 | 44 65 6d 6f 46 69 6c 65 |" is in |DemoFile|
|00004c20| 20 74 68 65 6e 20 70 75 | 74 20 22 4d 54 22 20 69 | then pu|t "MT" i|
|00004c30| 6e 74 6f 20 44 65 6d 6f | 54 79 70 65 0d 0d 0d 69 |nto Demo|Type...i|
|00004c40| 66 20 44 65 6d 6f 54 79 | 70 65 20 69 73 20 22 41 |f DemoTy|pe is "A|
|00004c50| 70 70 6c 69 63 61 74 69 | 6f 6e 22 20 6f 72 20 44 |pplicati|on" or D|
|00004c60| 65 6d 6f 54 79 70 65 20 | 69 73 20 22 4d 54 22 0d |emoType |is "MT".|
|00004c70| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 44 6f 20 |then.ans|wer "Do |
|00004c80| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 6f 70 65 6e |you want| to open|
|00004c90| 20 75 70 20 61 20 64 6f | 63 75 6d 65 6e 74 20 77 | up a do|cument w|
|00004ca0| 69 74 68 20 74 68 61 74 | 20 61 70 70 6c 69 63 61 |ith that| applica|
|00004cb0| 74 69 6f 6e 3f 22 20 77 | 69 74 68 20 59 65 73 20 |tion?" w|ith Yes |
|00004cc0| 6f 72 20 4e 6f 0d 69 66 | 20 69 74 20 69 73 20 79 |or No.if| it is y|
|00004cd0| 65 73 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 66 |es then.|answer f|
|00004ce0| 69 6c 65 20 70 72 6f 6d | 70 74 0d 69 66 20 69 74 |ile prom|pt.if it|
|00004cf0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004d00| 65 6e 20 70 75 74 20 45 | 6e 63 4c 6f 67 46 69 6c |en put E|ncLogFil|
|00004d10| 65 28 69 74 29 20 69 6e | 74 6f 20 44 65 6d 6f 46 |e(it) in|to DemoF|
|00004d20| 69 6c 65 32 0d 65 6c 73 | 65 20 70 75 74 20 65 6d |ile2.els|e put em|
|00004d30| 70 74 79 20 69 6e 74 6f | 20 44 65 6d 6f 46 69 6c |pty into| DemoFil|
|00004d40| 65 32 0d 65 6c 73 65 20 | 70 75 74 20 65 6d 70 74 |e2.else |put empt|
|00004d50| 79 20 69 6e 74 6f 20 44 | 65 6d 6f 46 69 6c 65 32 |y into D|emoFile2|
|00004d60| 0d 65 6e 64 20 69 66 0d | 0d 61 73 6b 20 22 45 6e |.end if.|.ask "En|
|00004d70| 74 65 72 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 |ter the |message |
|00004d80| 66 6f 72 20 74 68 65 20 | 75 73 65 72 20 28 69 66 |for the |user (if|
|00004d90| 20 61 6e 79 29 20 6e 6f | 77 3a 22 20 77 69 74 68 | any) no|w:" with|
|00004da0| 20 44 65 6d 6f 4d 65 73 | 73 61 67 65 0d 69 66 20 | DemoMes|sage.if |
|00004db0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 22 63 |the resu|lt is "c|
|00004dc0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00004dd0| 20 43 68 61 6e 67 65 44 | 65 6d 6f 0d 70 75 74 20 | ChangeD|emo.put |
|00004de0| 69 74 20 69 6e 74 6f 20 | 44 65 6d 6f 4d 65 73 73 |it into |DemoMess|
|00004df0| 61 67 65 0d 0d 61 6e 73 | 77 65 72 20 22 44 6f 20 |age..ans|wer "Do |
|00004e00| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 68 6f 6f 6b |you want| to hook|
|00004e10| 20 75 70 20 61 6e 20 49 | 6e 73 74 72 75 63 74 69 | up an I|nstructi|
|00004e20| 6f 6e 73 20 66 69 6c 65 | 3f 22 20 77 69 74 68 20 |ons file|?" with |
|00004e30| 59 65 73 20 6f 72 20 4e | 6f 0d 69 66 20 69 74 20 |Yes or N|o.if it |
|00004e40| 69 73 20 79 65 73 20 74 | 68 65 6e 0d 61 6e 73 77 |is yes t|hen.answ|
|00004e50| 65 72 20 66 69 6c 65 20 | 22 57 68 69 63 68 20 69 |er file |"Which i|
|00004e60| 6e 73 74 72 75 63 74 69 | 6f 6e 20 66 69 6c 65 20 |nstructi|on file |
|00004e70| 73 68 6f 75 6c 64 20 69 | 20 68 6f 6f 6b 20 74 68 |should i| hook th|
|00004e80| 69 73 20 75 70 20 74 6f | 3f 22 20 6f 66 20 74 79 |is up to|?" of ty|
|00004e90| 70 65 20 22 4d 57 32 44 | 22 0d 69 66 20 69 74 20 |pe "MW2D|".if it |
|00004ea0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004eb0| 6e 20 70 75 74 20 45 6e | 63 4c 6f 67 46 69 6c 65 |n put En|cLogFile|
|00004ec0| 28 69 74 29 20 69 6e 74 | 6f 20 49 6e 73 74 46 69 |(it) int|o InstFi|
|00004ed0| 6c 65 0d 65 6c 73 65 20 | 70 75 74 20 65 6d 70 74 |le.else |put empt|
|00004ee0| 79 20 69 6e 74 6f 20 49 | 6e 73 74 46 69 6c 65 0d |y into I|nstFile.|
|00004ef0| 65 6c 73 65 20 70 75 74 | 20 65 6d 70 74 79 20 69 |else put| empty i|
|00004f00| 6e 74 6f 20 49 6e 73 74 | 46 69 6c 65 0d 0d 0d 69 |nto Inst|File...i|
|00004f10| 66 20 44 65 6d 6f 54 6f | 6f 6c 20 69 73 20 65 6d |f DemoTo|ol is em|
|00004f20| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 4a 75 73 |pty then| put Jus|
|00004f30| 74 46 69 6c 65 4e 61 6d | 65 28 44 65 6d 6f 46 69 |tFileNam|e(DemoFi|
|00004f40| 6c 65 29 20 69 6e 74 6f | 20 43 61 6e 64 69 64 61 |le) into| Candida|
|00004f50| 74 65 54 6f 6f 6c 4e 61 | 6d 65 0d 65 6c 73 65 20 |teToolNa|me.else |
|00004f60| 70 75 74 20 44 65 6d 6f | 54 6f 6f 6c 20 69 6e 74 |put Demo|Tool int|
|00004f70| 6f 20 43 61 6e 64 69 64 | 61 74 65 54 6f 6f 6c 4e |o Candid|ateToolN|
|00004f80| 61 6d 65 0d 2d 2d 20 70 | 75 74 20 4a 75 73 74 46 |ame.-- p|ut JustF|
|00004f90| 69 6c 65 4e 61 6d 65 28 | 44 65 6d 6f 46 69 6c 65 |ileName(|DemoFile|
|00004fa0| 29 20 69 6e 74 6f 20 43 | 61 6e 64 69 64 61 74 65 |) into C|andidate|
|00004fb0| 54 6f 6f 6c 4e 61 6d 65 | 0d 0d 61 73 6b 20 22 46 |ToolName|..ask "F|
|00004fc0| 6f 72 20 77 68 69 63 68 | 20 74 6f 6f 6c 20 69 73 |or which| tool is|
|00004fd0| 20 74 68 69 73 20 61 20 | 44 65 6d 6f 3f 22 20 77 | this a |Demo?" w|
|00004fe0| 69 74 68 20 43 61 6e 64 | 69 64 61 74 65 54 6f 6f |ith Cand|idateToo|
|00004ff0| 6c 4e 61 6d 65 0d 69 66 | 20 74 68 65 20 72 65 73 |lName.if| the res|
|00005000| 75 6c 74 20 69 73 20 22 | 63 61 6e 63 65 6c 22 20 |ult is "|cancel" |
|00005010| 74 68 65 6e 20 65 78 69 | 74 20 43 68 61 6e 67 65 |then exi|t Change|
|00005020| 44 65 6d 6f 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |Demo.put| it into|
|00005030| 20 44 65 6d 6f 54 6f 6f | 6c 0d 0d 57 72 69 74 65 | DemoToo|l..Write|
|00005040| 44 65 6d 6f 53 63 72 69 | 70 74 20 62 74 6e 69 64 |DemoScri|pt btnid|
|00005050| 2c 44 65 6d 6f 54 6f 6f | 6c 2c 44 65 6d 6f 54 79 |,DemoToo|l,DemoTy|
|00005060| 70 65 2c 44 65 6d 6f 46 | 69 6c 65 2c 44 65 6d 6f |pe,DemoF|ile,Demo|
|00005070| 4d 65 73 73 61 67 65 2c | 44 65 6d 6f 46 69 6c 65 |Message,|DemoFile|
|00005080| 32 2c 49 6e 73 74 46 69 | 6c 65 0d 65 6e 64 20 43 |2,InstFi|le.end C|
|00005090| 68 61 6e 67 65 44 65 6d | 6f 0d 0d 6f 6e 20 57 72 |hangeDem|o..on Wr|
|000050a0| 69 74 65 44 65 6d 6f 53 | 63 72 69 70 74 20 62 74 |iteDemoS|cript bt|
|000050b0| 6e 69 64 2c 44 65 6d 6f | 54 6f 6f 6c 2c 44 65 6d |nid,Demo|Tool,Dem|
|000050c0| 6f 54 79 70 65 2c 44 65 | 6d 6f 46 69 6c 65 2c 44 |oType,De|moFile,D|
|000050d0| 65 6d 6f 4d 65 73 73 61 | 67 65 2c 44 65 6d 6f 46 |emoMessa|ge,DemoF|
|000050e0| 69 6c 65 32 2c 49 6e 73 | 74 46 69 6c 65 0d 2d 2d |ile2,Ins|tFile.--|
|000050f0| 20 77 72 69 74 65 20 6e | 61 6d 65 20 62 61 63 6b | write n|ame back|
|00005100| 20 74 6f 20 74 68 65 20 | 64 61 74 61 20 66 75 6e | to the |data fun|
|00005110| 63 74 69 6f 6e 20 68 61 | 6e 64 6c 65 72 20 69 6e |ction ha|ndler in|
|00005120| 20 74 68 69 73 20 73 63 | 72 69 70 74 0d 0d 70 75 | this sc|ript..pu|
|00005130| 74 20 20 22 6f 6e 20 6d | 6f 75 73 65 55 70 22 20 |t "on m|ouseUp" |
|00005140| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 44 65 |& return| & .."De|
|00005150| 6d 6f 48 61 6e 64 6c 65 | 72 20 28 74 68 65 20 69 |moHandle|r (the i|
|00005160| 64 20 6f 66 20 6d 65 29 | 2c 44 65 6d 6f 54 6f 6f |d of me)|,DemoToo|
|00005170| 6c 28 29 2c 44 65 6d 6f | 54 79 70 65 28 29 2c 44 |l(),Demo|Type(),D|
|00005180| 65 6d 6f 46 69 6c 65 28 | 29 2c 44 65 6d 6f 4d 65 |emoFile(|),DemoMe|
|00005190| 73 73 61 67 65 28 29 2c | 44 65 6d 6f 46 69 6c 65 |ssage(),|DemoFile|
|000051a0| 32 28 29 2c 49 6e 73 74 | 46 69 6c 65 28 29 22 20 |2(),Inst|File()" |
|000051b0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 65 6e |& return| & .."en|
|000051c0| 64 20 6d 6f 75 73 65 55 | 70 22 20 26 20 72 65 74 |d mouseU|p" & ret|
|000051d0| 75 72 6e 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |urn & re|turn & .|
|000051e0| 0d 22 66 75 6e 63 74 69 | 6f 6e 20 44 65 6d 6f 54 |."functi|on DemoT|
|000051f0| 6f 6f 6c 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |ool" & r|eturn & |
|00005200| c2 0d 22 72 65 74 75 72 | 6e 28 22 20 26 20 71 75 |.."retur|n(" & qu|
|00005210| 6f 74 65 20 26 20 44 65 | 6d 6f 54 6f 6f 6c 20 26 |ote & De|moTool &|
|00005220| 20 71 75 6f 74 65 20 26 | 20 22 29 22 20 26 20 72 | quote &| ")" & r|
|00005230| 65 74 75 72 6e 20 26 20 | c2 0d 22 65 6e 64 20 44 |eturn & |.."end D|
|00005240| 65 6d 6f 54 6f 6f 6c 22 | 20 26 20 72 65 74 75 72 |emoTool"| & retur|
|00005250| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |n & retu|rn & .."|
|00005260| 66 75 6e 63 74 69 6f 6e | 20 44 65 6d 6f 54 79 70 |function| DemoTyp|
|00005270| 65 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 c2 0d |e" & ret|urn & ..|
|00005280| 22 72 65 74 75 72 6e 28 | 22 20 26 20 71 75 6f 74 |"return(|" & quot|
|00005290| 65 20 26 20 44 65 6d 6f | 54 79 70 65 20 26 20 71 |e & Demo|Type & q|
|000052a0| 75 6f 74 65 20 26 20 22 | 29 22 20 26 20 72 65 74 |uote & "|)" & ret|
|000052b0| 75 72 6e 20 26 20 c2 0d | 22 65 6e 64 20 44 65 6d |urn & ..|"end Dem|
|000052c0| 6f 54 79 70 65 22 20 26 | 20 72 65 74 75 72 6e 20 |oType" &| return |
|000052d0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 66 75 |& return| & .."fu|
|000052e0| 6e 63 74 69 6f 6e 20 44 | 65 6d 6f 46 69 6c 65 22 |nction D|emoFile"|
|000052f0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 72 | & retur|n & .."r|
|00005300| 65 74 75 72 6e 28 22 20 | 26 20 71 75 6f 74 65 20 |eturn(" |& quote |
|00005310| 26 20 44 65 6d 6f 46 69 | 6c 65 20 26 20 71 75 6f |& DemoFi|le & quo|
|00005320| 74 65 20 26 20 22 29 22 | 20 26 20 72 65 74 75 72 |te & ")"| & retur|
|00005330| 6e 20 26 20 c2 0d 22 65 | 6e 64 20 44 65 6d 6f 46 |n & .."e|nd DemoF|
|00005340| 69 6c 65 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |ile" & r|eturn & |
|00005350| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 66 75 6e 63 |return &| .."func|
|00005360| 74 69 6f 6e 20 44 65 6d | 6f 46 69 6c 65 32 22 20 |tion Dem|oFile2" |
|00005370| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 72 65 |& return| & .."re|
|00005380| 74 75 72 6e 28 22 20 26 | 20 71 75 6f 74 65 20 26 |turn(" &| quote &|
|00005390| 20 44 65 6d 6f 46 69 6c | 65 32 20 26 20 71 75 6f | DemoFil|e2 & quo|
|000053a0| 74 65 20 26 20 22 29 22 | 20 26 20 72 65 74 75 72 |te & ")"| & retur|
|000053b0| 6e 20 26 20 c2 0d 22 65 | 6e 64 20 44 65 6d 6f 46 |n & .."e|nd DemoF|
|000053c0| 69 6c 65 32 22 20 26 20 | 72 65 74 75 72 6e 20 26 |ile2" & |return &|
|000053d0| 20 72 65 74 75 72 6e 20 | 26 20 c2 0d 22 66 75 6e | return |& .."fun|
|000053e0| 63 74 69 6f 6e 20 49 6e | 73 74 46 69 6c 65 22 20 |ction In|stFile" |
|000053f0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 72 65 |& return| & .."re|
|00005400| 74 75 72 6e 28 22 20 26 | 20 71 75 6f 74 65 20 26 |turn(" &| quote &|
|00005410| 20 49 6e 73 74 46 69 6c | 65 20 26 20 71 75 6f 74 | InstFil|e & quot|
|00005420| 65 20 26 20 22 29 22 20 | 26 20 72 65 74 75 72 6e |e & ")" |& return|
|00005430| 20 26 20 c2 0d 22 65 6e | 64 20 49 6e 73 74 46 69 | & .."en|d InstFi|
|00005440| 6c 65 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |le" & re|turn & r|
|00005450| 65 74 75 72 6e 20 26 20 | c2 0d 22 66 75 6e 63 74 |eturn & |.."funct|
|00005460| 69 6f 6e 20 44 65 6d 6f | 4d 65 73 73 61 67 65 22 |ion Demo|Message"|
|00005470| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 72 | & retur|n & .."r|
|00005480| 65 74 75 72 6e 28 22 20 | 26 20 71 75 6f 74 65 20 |eturn(" |& quote |
|00005490| 26 20 44 65 6d 6f 4d 65 | 73 73 61 67 65 20 26 20 |& DemoMe|ssage & |
|000054a0| 71 75 6f 74 65 20 26 20 | 22 29 22 20 26 20 72 65 |quote & |")" & re|
|000054b0| 74 75 72 6e 20 26 20 c2 | 0d 22 65 6e 64 20 44 65 |turn & .|."end De|
|000054c0| 6d 6f 4d 65 73 73 61 67 | 65 22 20 26 20 72 65 74 |moMessag|e" & ret|
|000054d0| 75 72 6e 20 c2 0d 69 6e | 74 6f 20 74 68 65 53 63 |urn ..in|to theSc|
|000054e0| 72 69 70 74 0d 0d 73 65 | 74 20 73 63 72 69 70 74 |ript..se|t script|
|000054f0| 20 6f 66 20 63 64 20 62 | 74 6e 20 69 64 20 20 62 | of cd b|tn id b|
|00005500| 74 6e 69 64 20 74 6f 20 | 74 68 65 53 63 72 69 70 |tnid to |theScrip|
|00005510| 74 0d 73 65 74 20 6e 61 | 6d 65 20 6f 66 20 63 64 |t.set na|me of cd|
|00005520| 20 62 74 6e 20 69 64 20 | 62 74 6e 69 64 20 74 6f | btn id |btnid to|
|00005530| 20 44 65 6d 6f 54 6f 6f | 6c 0d 65 6e 64 20 57 72 | DemoToo|l.end Wr|
|00005540| 69 74 65 44 65 6d 6f 53 | 63 72 69 70 74 0d 0d 0d |iteDemoS|cript...|
|00005550| 6f 6e 20 49 6e 73 74 61 | 6c 6c 44 65 6d 6f 20 62 |on Insta|llDemo b|
|00005560| 74 6e 69 64 2c 44 65 6d | 6f 54 6f 6f 6c 0d 67 6c |tnid,Dem|oTool.gl|
|00005570| 6f 62 61 6c 20 67 54 41 | 53 74 61 63 6b 0d 0d 77 |obal gTA|Stack..w|
|00005580| 72 69 74 65 53 74 61 74 | 75 73 20 22 49 3a 20 22 |riteStat|us "I: "|
|00005590| 20 26 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d | & the s|hort nam|
|000055a0| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 69 64 20 62 |e of cd |btn id b|
|000055b0| 74 6e 69 64 20 26 20 72 | 65 74 75 72 6e 0d 0d 69 |tnid & r|eturn..i|
|000055c0| 66 20 67 54 41 53 74 61 | 63 6b 20 69 73 20 65 6d |f gTASta|ck is em|
|000055d0| 70 74 79 0d 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |pty.then|.answer |
|000055e0| 66 69 6c 65 20 22 57 68 | 69 63 68 20 54 6f 6f 6c |file "Wh|ich Tool|
|000055f0| 73 20 41 64 76 69 73 6f | 72 20 66 6f 72 20 69 6e |s Adviso|r for in|
|00005600| 73 74 61 6c 6c 61 74 69 | 6f 6e 3f 22 0d 69 66 20 |stallati|on?".if |
|00005610| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00005620| 20 65 78 69 74 20 49 6e | 73 74 61 6c 6c 44 65 6d | exit In|stallDem|
|00005630| 6f 0d 65 6c 73 65 20 70 | 75 74 20 69 74 20 69 6e |o.else p|ut it in|
|00005640| 74 6f 20 67 54 41 53 74 | 61 63 6b 0d 65 6e 64 20 |to gTASt|ack.end |
|00005650| 69 66 0d 0d 67 65 74 20 | 74 68 65 20 73 63 72 69 |if..get |the scri|
|00005660| 70 74 20 6f 66 20 63 64 | 20 62 74 6e 20 69 64 20 |pt of cd| btn id |
|00005670| 62 74 6e 69 64 0d 70 75 | 74 20 69 74 20 69 6e 74 |btnid.pu|t it int|
|00005680| 6f 20 74 68 65 53 63 72 | 69 70 74 0d 0d 63 6f 70 |o theScr|ipt..cop|
|00005690| 79 49 63 6f 6e 0d 70 75 | 73 68 20 63 64 0d 73 65 |yIcon.pu|sh cd.se|
|000056a0| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|000056b0| 6f 20 74 72 75 65 0d 73 | 65 74 20 6c 6f 63 6b 72 |o true.s|et lockr|
|000056c0| 65 63 65 6e 74 20 74 6f | 20 74 72 75 65 0d 73 65 |ecent to| true.se|
|000056d0| 74 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 74 6f 20 |t locksc|reen to |
|000056e0| 66 61 6c 73 65 0d 0d 67 | 6f 20 74 6f 20 63 64 20 |false..g|o to cd |
|000056f0| 69 64 20 31 34 32 39 33 | 20 69 6e 20 73 74 61 63 |id 14293| in stac|
|00005700| 6b 20 67 54 41 53 74 61 | 63 6b 20 20 20 2d 2d 2a |k gTASta|ck --*|
|00005710| 2a 2a 2a 20 74 68 69 73 | 20 6a 75 73 74 20 68 61 |*** this| just ha|
|00005720| 70 70 65 6e 73 20 74 6f | 20 62 65 20 74 68 65 20 |ppens to| be the |
|00005730| 63 61 72 64 73 20 74 68 | 65 20 74 6f 6f 6c 73 20 |cards th|e tools |
|00005740| 73 74 61 72 74 20 61 74 | 2e 20 20 6a 75 73 74 20 |start at|. just |
|00005750| 74 6f 20 73 70 65 65 64 | 20 74 68 69 6e 67 73 20 |to speed| things |
|00005760| 75 70 20 61 20 62 69 74 | 2e 0d 67 6f 20 74 6f 20 |up a bit|..go to |
|00005770| 63 61 72 64 20 28 63 68 | 61 72 20 31 20 74 6f 20 |card (ch|ar 1 to |
|00005780| 32 39 20 6f 66 20 44 65 | 6d 6f 54 6f 6f 6c 29 20 |29 of De|moTool) |
|00005790| 69 6e 20 73 74 61 63 6b | 20 67 54 41 53 74 61 63 |in stack| gTAStac|
|000057a0| 6b 0d 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |k..if th|e result|
|000057b0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 0d 74 68 | is not |empty.th|
|000057c0| 65 6e 0d 62 65 65 70 0d | 65 78 69 74 20 49 6e 73 |en.beep.|exit Ins|
|000057d0| 74 61 6c 6c 44 65 6d 6f | 0d 65 6e 64 20 69 66 0d |tallDemo|.end if.|
|000057e0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 63 |.if ther|e is a c|
|000057f0| 64 20 62 74 6e 20 22 44 | 65 6d 6f 22 20 74 68 65 |d btn "D|emo" the|
|00005800| 6e 20 67 65 74 20 74 68 | 65 20 69 64 20 6f 66 20 |n get th|e id of |
|00005810| 63 64 20 62 74 6e 20 22 | 44 65 6d 6f 22 20 2d 2d |cd btn "|Demo" --|
|00005820| 20 2a 2a 20 70 75 74 20 | 69 6e 20 61 20 63 68 65 | ** put |in a che|
|00005830| 63 6b 20 66 6f 72 20 74 | 68 65 20 62 75 74 74 6f |ck for t|he butto|
|00005840| 6e 0d 65 6c 73 65 0d 64 | 6f 4d 65 6e 75 20 22 4e |n.else.d|oMenu "N|
|00005850| 65 77 20 42 75 74 74 6f | 6e 22 0d 67 65 74 20 74 |ew Butto|n".get t|
|00005860| 68 65 20 69 64 20 6f 66 | 20 63 64 20 62 74 6e 20 |he id of| cd btn |
|00005870| 22 4e 65 77 20 42 75 74 | 74 6f 6e 22 20 2d 2d 20 |"New But|ton" -- |
|00005880| 2a 2a 20 63 68 61 6e 67 | 65 20 74 6f 20 73 65 6c |** chang|e to sel|
|00005890| 65 63 74 65 64 20 69 74 | 65 6d 20 73 6f 6d 65 20 |ected it|em some |
|000058a0| 74 69 6d 65 0d 0d 65 6e | 64 20 69 66 0d 70 75 74 |time..en|d if.put|
|000058b0| 20 69 74 20 69 6e 74 6f | 20 44 65 6d 6f 42 74 6e | it into| DemoBtn|
|000058c0| 49 44 0d 0d 73 65 74 20 | 73 63 72 69 70 74 20 6f |ID..set |script o|
|000058d0| 66 20 63 64 20 62 74 6e | 20 69 64 20 44 65 6d 6f |f cd btn| id Demo|
|000058e0| 42 74 6e 49 44 20 74 6f | 20 74 68 65 53 63 72 69 |BtnID to| theScri|
|000058f0| 70 74 0d 0d 73 74 61 6e | 64 61 72 64 69 7a 65 44 |pt..stan|dardizeD|
|00005900| 65 6d 6f 42 74 6e 20 44 | 65 6d 6f 42 74 6e 49 44 |emoBtn D|emoBtnID|
|00005910| 0d 50 75 74 50 69 63 74 | 4f 6e 0d 0d 63 68 6f 6f |.PutPict|On..choo|
|00005920| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 70 |se brows|e tool.p|
|00005930| 6f 70 20 63 61 72 64 0d | 65 6e 64 20 49 6e 73 74 |op card.|end Inst|
|00005940| 61 6c 6c 44 65 6d 6f 0d | 0d 6f 6e 20 20 20 73 74 |allDemo.|.on st|
|00005950| 61 6e 64 61 72 64 69 7a | 65 44 65 6d 6f 42 74 6e |andardiz|eDemoBtn|
|00005960| 20 44 65 6d 6f 42 74 6e | 49 44 0d 2d 2d 20 6d 61 | DemoBtn|ID.-- ma|
|00005970| 6b 65 73 20 74 68 65 20 | 62 74 6e 20 44 65 6d 6f |kes the |btn Demo|
|00005980| 42 74 6e 49 44 20 63 6f | 6e 66 6f 72 6d 20 74 6f |BtnID co|nform to|
|00005990| 20 73 74 61 6e 64 61 72 | 64 73 2e 0d 73 65 74 20 | standar|ds..set |
|000059a0| 74 68 65 20 72 65 63 74 | 20 6f 66 20 63 64 20 62 |the rect| of cd b|
|000059b0| 74 6e 20 69 64 20 44 65 | 6d 6f 42 74 6e 49 44 20 |tn id De|moBtnID |
|000059c0| 74 6f 20 31 33 34 2c 32 | 39 39 2c 32 30 30 2c 33 |to 134,2|99,200,3|
|000059d0| 32 35 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |25.set t|he name |
|000059e0| 6f 66 20 63 64 20 62 74 | 6e 20 69 64 20 44 65 6d |of cd bt|n id Dem|
|000059f0| 6f 42 74 6e 49 44 20 74 | 6f 20 22 44 65 6d 6f 22 |oBtnID t|o "Demo"|
|00005a00| 0d 73 65 74 20 74 68 65 | 20 61 75 74 6f 48 69 6c |.set the| autoHil|
|00005a10| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 64 |ite of c|d btn id|
|00005a20| 20 44 65 6d 6f 42 74 6e | 49 44 20 74 6f 20 74 72 | DemoBtn|ID to tr|
|00005a30| 75 65 0d 73 65 74 20 74 | 68 65 20 73 68 6f 77 4e |ue.set t|he showN|
|00005a40| 61 6d 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 64 |ame of c|d btn id|
|00005a50| 20 44 65 6d 6f 42 74 6e | 49 44 20 74 6f 20 66 61 | DemoBtn|ID to fa|
|00005a60| 6c 73 65 20 2d 2d 20 2a | 2a 20 6c 61 74 65 72 20 |lse -- *|* later |
|00005a70| 20 2d 3e 20 20 20 66 61 | 6c 73 65 0d 73 65 74 20 | -> fa|lse.set |
|00005a80| 74 68 65 20 73 74 79 6c | 65 20 6f 66 20 63 64 20 |the styl|e of cd |
|00005a90| 62 74 6e 20 69 64 20 44 | 65 6d 6f 42 74 6e 49 44 |btn id D|emoBtnID|
|00005aa0| 20 74 6f 20 74 72 61 6e | 73 70 61 72 65 6e 74 20 | to tran|sparent |
|00005ab0| 2d 2d 20 2a 2a 20 6c 61 | 74 65 72 20 2d 3e 20 72 |-- ** la|ter -> r|
|00005ac0| 6f 75 6e 64 52 65 63 74 | 0d 65 6e 64 20 20 20 73 |oundRect|.end s|
|00005ad0| 74 61 6e 64 61 72 64 69 | 7a 65 44 65 6d 6f 42 74 |tandardi|zeDemoBt|
|00005ae0| 6e 0d 0d 6f 6e 20 63 6f | 70 79 49 63 6f 6e 0d 2d |n..on co|pyIcon.-|
|00005af0| 2d 20 75 70 70 65 72 2d | 6c 65 66 74 20 63 6f 72 |- upper-|left cor|
|00005b00| 6e 65 72 20 6f 66 20 69 | 63 6f 6e 3a 20 31 32 39 |ner of i|con: 129|
|00005b10| 2c 32 39 38 3b 20 20 6c | 6f 77 65 72 2d 72 69 67 |,298; l|ower-rig|
|00005b20| 68 74 3a 20 32 30 36 2c | 33 34 30 0d 63 68 6f 6f |ht: 206,|340.choo|
|00005b30| 73 65 20 73 65 6c 65 63 | 74 20 74 6f 6f 6c 0d 64 |se selec|t tool.d|
|00005b40| 72 61 67 20 66 72 6f 6d | 20 31 32 39 2c 32 39 38 |rag from| 129,298|
|00005b50| 20 74 6f 20 32 30 36 2c | 33 34 30 0d 74 79 70 65 | to 206,|340.type|
|00005b60| 20 22 43 22 20 77 69 74 | 68 20 63 6d 64 4b 65 79 | "C" wit|h cmdKey|
|00005b70| 0d 63 68 6f 6f 73 65 20 | 62 72 6f 77 73 65 20 74 |.choose |browse t|
|00005b80| 6f 6f 6c 0d 65 6e 64 20 | 63 6f 70 79 49 63 6f 6e |ool.end |copyIcon|
|00005b90| 0d 0d 0d 6f 6e 20 50 75 | 74 50 69 63 74 4f 6e 0d |...on Pu|tPictOn.|
|00005ba0| 2d 2d 20 54 6f 20 62 65 | 20 69 6d 70 6c 65 6d 65 |-- To be| impleme|
|00005bb0| 6e 74 65 64 20 6c 61 74 | 65 72 2e 0d 2d 2d 20 75 |nted lat|er..-- u|
|00005bc0| 70 70 65 72 2d 6c 65 66 | 74 20 63 6f 72 6e 65 72 |pper-lef|t corner|
|00005bd0| 20 6f 66 20 69 63 6f 6e | 3a 20 31 32 39 2c 32 39 | of icon|: 129,29|
|00005be0| 38 3b 20 20 6c 6f 77 65 | 72 2d 72 69 67 68 74 3a |8; lowe|r-right:|
|00005bf0| 20 32 30 36 2c 33 34 30 | 0d 74 79 70 65 20 22 56 | 206,340|.type "V|
|00005c00| 22 20 77 69 74 68 20 63 | 6d 64 4b 65 79 0d 65 6e |" with c|mdKey.en|
|00005c10| 64 20 50 75 74 50 69 63 | 74 4f 6e 0d 0d 6f 6e 20 |d PutPic|tOn..on |
|00005c20| 52 65 6d 6f 76 65 44 65 | 6d 6f 0d 69 66 20 74 68 |RemoveDe|mo.if th|
|00005c30| 65 72 65 20 69 73 20 61 | 20 63 64 20 62 74 6e 20 |ere is a| cd btn |
|00005c40| 22 64 65 6d 6f 22 0d 74 | 68 65 6e 0d 72 65 6d 6f |"demo".t|hen.remo|
|00005c50| 76 65 44 65 6d 6f 42 74 | 6e 0d 63 75 74 49 63 6f |veDemoBt|n.cutIco|
|00005c60| 6e 0d 65 6e 64 20 69 66 | 0d 0d 65 6e 64 20 52 65 |n.end if|..end Re|
|00005c70| 6d 6f 76 65 44 65 6d 6f | 0d 0d 6f 6e 20 63 75 74 |moveDemo|..on cut|
|00005c80| 49 63 6f 6e 0d 2d 2d 20 | 75 70 70 65 72 2d 6c 65 |Icon.-- |upper-le|
|00005c90| 66 74 20 63 6f 72 6e 65 | 72 20 6f 66 20 69 63 6f |ft corne|r of ico|
|00005ca0| 6e 3a 20 31 32 39 2c 32 | 39 38 3b 20 20 6c 6f 77 |n: 129,2|98; low|
|00005cb0| 65 72 2d 72 69 67 68 74 | 3a 20 32 30 36 2c 33 34 |er-right|: 206,34|
|00005cc0| 30 0d 63 68 6f 6f 73 65 | 20 73 65 6c 65 63 74 20 |0.choose| select |
|00005cd0| 74 6f 6f 6c 0d 64 72 61 | 67 20 66 72 6f 6d 20 31 |tool.dra|g from 1|
|00005ce0| 32 39 2c 32 39 38 20 74 | 6f 20 32 30 36 2c 33 34 |29,298 t|o 206,34|
|00005cf0| 30 0d 74 79 70 65 20 22 | 58 22 20 77 69 74 68 20 |0.type "|X" with |
|00005d00| 63 6d 64 4b 65 79 0d 63 | 68 6f 6f 73 65 20 62 72 |cmdKey.c|hoose br|
|00005d10| 6f 77 73 65 20 74 6f 6f | 6c 0d 65 6e 64 20 63 75 |owse too|l.end cu|
|00005d20| 74 49 63 6f 6e 0d 0d 6f | 6e 20 72 65 6d 6f 76 65 |tIcon..o|n remove|
|00005d30| 44 65 6d 6f 42 74 6e 0d | 63 68 6f 6f 73 65 20 62 |DemoBtn.|choose b|
|00005d40| 75 74 74 6f 6e 20 74 6f | 6f 6c 0d 63 6c 69 63 6b |utton to|ol.click|
|00005d50| 20 61 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 63 | at the |loc of c|
|00005d60| 64 20 62 74 6e 20 22 64 | 65 6d 6f 22 0d 74 79 70 |d btn "d|emo".typ|
|00005d70| 65 20 22 58 22 20 77 69 | 74 68 20 63 6d 64 4b 65 |e "X" wi|th cmdKe|
|00005d80| 79 0d 65 6e 64 20 72 65 | 6d 6f 76 65 44 65 6d 6f |y.end re|moveDemo|
|00005d90| 42 74 6e 0d 0d 66 75 6e | 63 74 69 6f 6e 20 66 6c |Btn..fun|ction fl|
|00005da0| 64 44 65 6c 69 6d 0d 72 | 65 74 75 72 6e 20 6e 75 |dDelim.r|eturn nu|
|00005db0| 6d 54 6f 43 68 61 72 28 | 32 35 32 29 0d 65 6e 64 |mToChar(|252).end|
|00005dc0| 20 66 6c 64 44 65 6c 69 | 6d 0d 0d 66 75 6e 63 74 | fldDeli|m..funct|
|00005dd0| 69 6f 6e 20 72 65 63 44 | 65 6c 69 6d 0d 72 65 74 |ion recD|elim.ret|
|00005de0| 75 72 6e 20 6e 75 6d 54 | 6f 43 68 61 72 28 32 35 |urn numT|oChar(25|
|00005df0| 33 29 0d 65 6e 64 20 72 | 65 63 44 65 6c 69 6d 0d |3).end r|ecDelim.|
|00005e00| 0d 66 75 6e 63 74 69 6f | 6e 20 4c 69 6e 65 54 6f |.functio|n LineTo|
|00005e10| 4c 69 6e 65 4e 75 6d 20 | 74 68 65 54 65 78 74 2c |LineNum |theText,|
|00005e20| 74 68 65 43 6f 6e 74 61 | 69 6e 65 72 0d 2d 2d 20 |theConta|iner.-- |
|00005e30| 47 69 76 65 6e 20 73 6f | 6d 65 20 74 65 78 74 20 |Given so|me text |
|00005e40| 61 6e 64 20 61 20 63 6f | 6e 74 61 69 6e 65 72 2c |and a co|ntainer,|
|00005e50| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 6c 69 6e | returns| the lin|
|00005e60| 65 20 6e 75 6d 62 65 72 | 0d 2d 2d 20 6f 66 20 74 |e number|.-- of t|
|00005e70| 68 65 20 74 65 78 74 20 | 69 6e 20 74 68 65 20 63 |he text |in the c|
|00005e80| 6f 6e 74 61 69 6e 65 72 | 2c 20 6f 72 20 30 20 69 |ontainer|, or 0 i|
|00005e90| 66 20 6e 6f 74 20 66 6f | 75 6e 64 2e 0d 2d 2d 20 |f not fo|und..-- |
|00005ea0| 28 74 68 61 6e 6b 73 20 | 74 6f 20 4b 65 6e 20 4c |(thanks |to Ken L|
|00005eb0| 61 77 73 29 0d 2d 2d 20 | 4e 6f 74 65 3a 20 6f 6e |aws).-- |Note: on|
|00005ec0| 6c 79 20 77 6f 72 6b 73 | 20 69 66 20 22 74 65 78 |ly works| if "tex|
|00005ed0| 74 22 20 69 73 20 61 6e | 20 65 6e 74 69 72 65 20 |t" is an| entire |
|00005ee0| 6c 69 6e 65 2e 20 2d 2d | 20 70 77 66 0d 70 75 74 |line. --| pwf.put|
|00005ef0| 20 72 65 74 75 72 6e 20 | 26 20 74 68 65 43 6f 6e | return |& theCon|
|00005f00| 74 61 69 6e 65 72 20 26 | 20 72 65 74 75 72 6e 20 |tainer &| return |
|00005f10| 69 6e 74 6f 20 74 68 65 | 43 6f 6e 74 61 69 6e 65 |into the|Containe|
|00005f20| 72 0d 72 65 74 75 72 6e | 20 74 68 65 20 6e 75 6d |r.return| the num|
|00005f30| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00005f40| 63 68 61 72 20 31 20 74 | 6f 20 c2 0d 6f 66 66 73 |char 1 t|o ..offs|
|00005f50| 65 74 28 72 65 74 75 72 | 6e 20 26 20 74 68 65 54 |et(retur|n & theT|
|00005f60| 65 78 74 20 26 20 72 65 | 74 75 72 6e 2c 74 68 65 |ext & re|turn,the|
|00005f70| 43 6f 6e 74 61 69 6e 65 | 72 29 20 6f 66 20 74 68 |Containe|r) of th|
|00005f80| 65 43 6f 6e 74 61 69 6e | 65 72 0d 65 6e 64 20 4c |eContain|er.end L|
|00005f90| 69 6e 65 54 6f 4c 69 6e | 65 4e 75 6d 0d 0d 66 75 |ineToLin|eNum..fu|
|00005fa0| 6e 63 74 69 6f 6e 20 74 | 65 78 74 54 6f 4c 69 6e |nction t|extToLin|
|00005fb0| 65 4e 75 6d 20 74 68 65 | 54 65 78 74 2c 73 6f 75 |eNum the|Text,sou|
|00005fc0| 72 63 65 20 2d 2d 20 48 | 79 70 65 72 43 61 72 64 |rce -- H|yperCard|
|00005fd0| 20 74 65 61 6d 0d 2d 2d | 20 72 65 74 75 72 6e 73 | team.--| returns|
|00005fe0| 20 74 68 65 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 | the lin|e number|
|00005ff0| 20 74 68 61 74 20 74 68 | 65 54 65 78 74 20 6f 63 | that th|eText oc|
|00006000| 63 75 70 69 65 73 20 69 | 6e 20 22 73 6f 75 72 63 |cupies i|n "sourc|
|00006010| 65 22 0d 2d 2d 20 61 6e | 64 20 64 6f 65 73 6e 27 |e".-- an|d doesn'|
|00006020| 74 20 61 73 73 75 6d 65 | 20 74 68 61 74 20 74 68 |t assume| that th|
|00006030| 65 54 65 78 74 20 69 73 | 20 74 68 65 20 65 6e 74 |eText is| the ent|
|00006040| 69 72 65 20 6c 69 6e 65 | 0d 70 75 74 20 73 6f 75 |ire line|.put sou|
|00006050| 72 63 65 20 26 20 72 65 | 74 75 72 6e 20 69 6e 74 |rce & re|turn int|
|00006060| 6f 20 73 6f 75 72 63 65 | 0d 72 65 74 75 72 6e 20 |o source|.return |
|00006070| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00006080| 6e 65 73 20 6f 66 20 63 | 68 61 72 20 31 20 74 6f |nes of c|har 1 to|
|00006090| 20 c2 0d 6f 66 66 73 65 | 74 28 74 68 65 54 65 78 | ..offse|t(theTex|
|000060a0| 74 2c 73 6f 75 72 63 65 | 29 20 6f 66 20 73 6f 75 |t,source|) of sou|
|000060b0| 72 63 65 0d 65 6e 64 20 | 74 65 78 74 54 6f 4c 69 |rce.end |textToLi|
|000060c0| 6e 65 4e 75 6d 0d 0d 6f | 6e 20 63 68 65 63 6b 20 |neNum..o|n check |
|000060d0| 74 68 65 52 65 73 75 6c | 74 0d 69 66 20 74 68 65 |theResul|t.if the|
|000060e0| 52 65 73 75 6c 74 20 69 | 73 20 6e 6f 74 20 65 6d |Result i|s not em|
|000060f0| 70 74 79 20 74 68 65 6e | 0d 62 65 65 70 0d 61 6e |pty then|.beep.an|
|00006100| 73 77 65 72 20 74 68 65 | 52 65 73 75 6c 74 20 77 |swer the|Result w|
|00006110| 69 74 68 20 22 53 74 6f | 70 22 20 6f 72 20 22 43 |ith "Sto|p" or "C|
|00006120| 6f 6e 74 69 6e 75 65 22 | 0d 69 66 20 69 74 20 69 |ontinue"|.if it i|
|00006130| 73 20 22 53 74 6f 70 22 | 20 74 68 65 6e 20 65 78 |s "Stop"| then ex|
|00006140| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00006150| 65 6e 64 20 69 66 0d 65 | 6e 64 20 63 68 65 63 6b |end if.e|nd check|
|00006160| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 63 6b 20 74 68 65 | 52 65 73 75 6c 74 0d 69 |..ck the|Result.i|
|00006190| 66 20 74 68 65 52 65 73 | 75 6c 74 20 69 73 20 6e |f theRes|ult is n|
|000061a0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 62 65 |ot empty| then.be|
|000061b0| 65 70 0d 61 6e 73 77 65 | 72 20 74 68 65 52 65 73 |ep.answe|r theRes|
|000061c0| 75 6c 74 20 77 69 74 68 | 20 22 53 74 6f 70 22 20 |ult with| "Stop" |
|000061d0| 6f 72 20 22 43 6f 6e 74 | 69 6e 75 65 22 0d 69 66 |or "Cont|inue".if|
|000061e0| 20 69 74 20 69 73 20 22 | 53 74 6f 70 22 20 74 68 | it is "|Stop" th|
|000061f0| 65 6e 20 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en exit |to Hyper|
|00006200| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00006210| 63 68 65 63 6b 0d 00 00 | 00 00 00 00 00 00 00 00 |check...|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 04 48 6f 00 05 0e 26 | 00 06 4a 7d 00 05 13 93 |..Ho...&|..J}....|
|000062b0| 00 0a cf 1e 00 0a d3 af | 00 07 07 bf 00 04 4a 76 |........|......Jv|
|000062c0| 00 03 64 80 00 06 88 67 | 00 03 20 df 00 06 cf 57 |..d....g|.. ....W|
|000062d0| 00 0a ba 67 00 06 8a e6 | 00 07 75 fc 00 03 24 22 |...g....|..u...$"|
|000062e0| 00 00 00 00 00 00 00 00 | 00 03 fd 4d 00 00 00 00 |........|...M....|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 06 b2 1e | 00 04 c3 9f 00 05 5b f0 |........|......[.|
|00006310| 00 00 00 00 00 07 f5 8f | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.